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