#ccf596
a light, electric green · cool · closest name: khaki
RGB
204, 245, 150
HSL
86°, 83%, 78%
CMYK
17, 0, 39, 4
Luminance
0.8034
Every format
| HEX | #ccf596 |
| RGB | rgb(204, 245, 150) |
| HSL | hsl(86, 83%, 78%) |
| CMYK | cmyk(17%, 0%, 39%, 4%) |
| LAB | lab(91.8 -28.7 41.5) |
| LCH | lch(91.8 50.5 124.7) |
| OKLCH | oklch(0.920 0.129 127.8) |
Copy-ready code
/* CSS */
color: #ccf596;
background-color: #ccf596;
/* Tailwind (arbitrary) */
class="text-[#ccf596] bg-[#ccf596]"
/* SCSS */
$brand: #ccf596;
/* SwiftUI */
Color(red: 0.800, green: 0.961, blue: 0.588)
/* Android */
Color.parseColor("#ccf596")Accessibility — WCAG contrast
Aa
#ccf596 on white: 1.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf596 on black: 17.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green96.1%
Blue58.8%
CMYK percentages
Cyan16.7%
Magenta0.0%
Yellow38.8%
Key (black)3.9%
Color previews
#ccf596 text on a black background
contrast 17.07:1
Card sample
#ccf596 text on a white background
contrast 1.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf596;
Background color
Panel with #ccf596 background
background-color: #ccf596;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf596;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 245, 150, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 245, 150, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf596; background: linear-gradient(135deg, #ccf596, #96F5A0);