#ccf9ac
a light, electric green · cool · closest name: khaki
RGB
204, 249, 172
HSL
95°, 87%, 83%
CMYK
18, 0, 31, 2
Luminance
0.8357
Every format
| HEX | #ccf9ac |
| RGB | rgb(204, 249, 172) |
| HSL | hsl(95, 87%, 83%) |
| CMYK | cmyk(18%, 0%, 31%, 2%) |
| LAB | lab(93.3 -27.7 32.4) |
| LCH | lch(93.3 42.6 130.5) |
| OKLCH | oklch(0.932 0.111 132.8) |
Copy-ready code
/* CSS */
color: #ccf9ac;
background-color: #ccf9ac;
/* Tailwind (arbitrary) */
class="text-[#ccf9ac] bg-[#ccf9ac]"
/* SCSS */
$brand: #ccf9ac;
/* SwiftUI */
Color(red: 0.800, green: 0.976, blue: 0.675)
/* Android */
Color.parseColor("#ccf9ac")Accessibility — WCAG contrast
Aa
#ccf9ac on white: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf9ac on black: 17.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green97.6%
Blue67.5%
CMYK percentages
Cyan18.1%
Magenta0.0%
Yellow30.9%
Key (black)2.4%
Color previews
#ccf9ac text on a black background
contrast 17.71:1
Card sample
#ccf9ac text on a white background
contrast 1.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf9ac;
Background color
Panel with #ccf9ac background
background-color: #ccf9ac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf9ac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 249, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 249, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf9ac; background: linear-gradient(135deg, #ccf9ac, #ACF9BF);