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