#ccfbab
a light, electric green · cool · closest name: khaki
RGB
204, 251, 171
HSL
95°, 91%, 83%
CMYK
19, 0, 32, 2
Luminance
0.8477
Every format
| HEX | #ccfbab |
| RGB | rgb(204, 251, 171) |
| HSL | hsl(95, 91%, 83%) |
| CMYK | cmyk(19%, 0%, 32%, 2%) |
| LAB | lab(93.8 -28.8 33.6) |
| LCH | lch(93.8 44.2 130.6) |
| OKLCH | oklch(0.936 0.115 133.0) |
Copy-ready code
/* CSS */
color: #ccfbab;
background-color: #ccfbab;
/* Tailwind (arbitrary) */
class="text-[#ccfbab] bg-[#ccfbab]"
/* SCSS */
$brand: #ccfbab;
/* SwiftUI */
Color(red: 0.800, green: 0.984, blue: 0.671)
/* Android */
Color.parseColor("#ccfbab")Accessibility — WCAG contrast
Aa
#ccfbab on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccfbab on black: 17.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green98.4%
Blue67.1%
CMYK percentages
Cyan18.7%
Magenta0.0%
Yellow31.9%
Key (black)1.6%
Color previews
#ccfbab text on a black background
contrast 17.95:1
Card sample
#ccfbab text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccfbab;
Background color
Panel with #ccfbab background
background-color: #ccfbab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccfbab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 251, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 251, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccfbab; background: linear-gradient(135deg, #ccfbab, #ABFBBF);