#ccff24
a balanced, electric green · cool · closest name: yellow
RGB
204, 255, 36
HSL
74°, 100%, 57%
CMYK
20, 0, 86, 0
Luminance
0.8448
Every format
| HEX | #ccff24 |
| RGB | rgb(204, 255, 36) |
| HSL | hsl(74, 100%, 57%) |
| CMYK | cmyk(20%, 0%, 86%, 0%) |
| LAB | lab(93.7 -41.4 86.3) |
| LCH | lch(93.7 95.8 115.6) |
| OKLCH | oklch(0.931 0.223 123.4) |
Copy-ready code
/* CSS */
color: #ccff24;
background-color: #ccff24;
/* Tailwind (arbitrary) */
class="text-[#ccff24] bg-[#ccff24]"
/* SCSS */
$brand: #ccff24;
/* SwiftUI */
Color(red: 0.800, green: 1.000, blue: 0.141)
/* Android */
Color.parseColor("#ccff24")Accessibility — WCAG contrast
Aa
#ccff24 on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccff24 on black: 17.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green100.0%
Blue14.1%
CMYK percentages
Cyan20.0%
Magenta0.0%
Yellow85.9%
Key (black)0.0%
Color previews
#ccff24 text on a black background
contrast 17.90:1
Card sample
#ccff24 text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccff24;
Background color
Panel with #ccff24 background
background-color: #ccff24;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccff24;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 255, 36, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 255, 36, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccff24; background: linear-gradient(135deg, #ccff24, #3AFF24);