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