#ccff2f
a balanced, electric green · cool · closest name: yellow
RGB
204, 255, 47
HSL
75°, 100%, 59%
CMYK
20, 0, 82, 0
Luminance
0.8456
Every format
| HEX | #ccff2f |
| RGB | rgb(204, 255, 47) |
| HSL | hsl(75, 100%, 59%) |
| CMYK | cmyk(20%, 0%, 82%, 0%) |
| LAB | lab(93.7 -41.1 84.1) |
| LCH | lch(93.7 93.6 116.1) |
| OKLCH | oklch(0.932 0.219 123.5) |
Copy-ready code
/* CSS */
color: #ccff2f;
background-color: #ccff2f;
/* Tailwind (arbitrary) */
class="text-[#ccff2f] bg-[#ccff2f]"
/* SCSS */
$brand: #ccff2f;
/* SwiftUI */
Color(red: 0.800, green: 1.000, blue: 0.184)
/* Android */
Color.parseColor("#ccff2f")Accessibility — WCAG contrast
Aa
#ccff2f on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccff2f on black: 17.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green100.0%
Blue18.4%
CMYK percentages
Cyan20.0%
Magenta0.0%
Yellow81.6%
Key (black)0.0%
Color previews
#ccff2f text on a black background
contrast 17.91:1
Card sample
#ccff2f text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccff2f;
Background color
Panel with #ccff2f background
background-color: #ccff2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccff2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 255, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 255, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccff2f; background: linear-gradient(135deg, #ccff2f, #41FF2F);