#ccf500
a balanced, electric green · cool · closest name: yellow
RGB
204, 245, 0
HSL
70°, 100%, 48%
CMYK
17, 0, 100, 4
Luminance
0.7814
Every format
| HEX | #ccf500 |
| RGB | rgb(204, 245, 0) |
| HSL | hsl(70, 100%, 48%) |
| CMYK | cmyk(17%, 0%, 100%, 4%) |
| LAB | lab(90.8 -37.5 88.2) |
| LCH | lch(90.8 95.8 113.1) |
| OKLCH | oklch(0.908 0.218 121.1) |
Copy-ready code
/* CSS */
color: #ccf500;
background-color: #ccf500;
/* Tailwind (arbitrary) */
class="text-[#ccf500] bg-[#ccf500]"
/* SCSS */
$brand: #ccf500;
/* SwiftUI */
Color(red: 0.800, green: 0.961, blue: 0.000)
/* Android */
Color.parseColor("#ccf500")Accessibility — WCAG contrast
Aa
#ccf500 on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf500 on black: 16.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green96.1%
Blue0.0%
CMYK percentages
Cyan16.7%
Magenta0.0%
Yellow100.0%
Key (black)3.9%
Color previews
#ccf500 text on a black background
contrast 16.63:1
Card sample
#ccf500 text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf500;
Background color
Panel with #ccf500 background
background-color: #ccf500;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf500;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 245, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 245, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf500; background: linear-gradient(135deg, #ccf500, #29F500);