#ccffab
a light, electric green · cool · closest name: khaki
RGB
204, 255, 171
HSL
96°, 100%, 84%
CMYK
20, 0, 33, 0
Luminance
0.8730
Every format
| HEX | #ccffab |
| RGB | rgb(204, 255, 171) |
| HSL | hsl(96, 100%, 84%) |
| CMYK | cmyk(20%, 0%, 33%, 0%) |
| LAB | lab(94.9 -30.6 35.0) |
| LCH | lch(94.9 46.5 131.2) |
| OKLCH | oklch(0.945 0.121 133.7) |
Copy-ready code
/* CSS */
color: #ccffab;
background-color: #ccffab;
/* Tailwind (arbitrary) */
class="text-[#ccffab] bg-[#ccffab]"
/* SCSS */
$brand: #ccffab;
/* SwiftUI */
Color(red: 0.800, green: 1.000, blue: 0.671)
/* Android */
Color.parseColor("#ccffab")Accessibility — WCAG contrast
Aa
#ccffab on white: 1.14:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccffab on black: 18.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green100.0%
Blue67.1%
CMYK percentages
Cyan20.0%
Magenta0.0%
Yellow32.9%
Key (black)0.0%
Color previews
#ccffab text on a black background
contrast 18.46:1
Card sample
#ccffab text on a white background
contrast 1.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccffab;
Background color
Panel with #ccffab background
background-color: #ccffab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccffab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 255, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 255, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccffab; background: linear-gradient(135deg, #ccffab, #ABFFC2);