#ccf18d
a light, electric green · cool · closest name: khaki
RGB
204, 241, 141
HSL
82°, 78%, 75%
CMYK
15, 0, 42, 6
Luminance
0.7767
Every format
| HEX | #ccf18d |
| RGB | rgb(204, 241, 141) |
| HSL | hsl(82, 78%, 75%) |
| CMYK | cmyk(15%, 0%, 42%, 6%) |
| LAB | lab(90.6 -27.9 44.3) |
| LCH | lch(90.6 52.4 122.2) |
| OKLCH | oklch(0.909 0.133 125.5) |
Copy-ready code
/* CSS */
color: #ccf18d;
background-color: #ccf18d;
/* Tailwind (arbitrary) */
class="text-[#ccf18d] bg-[#ccf18d]"
/* SCSS */
$brand: #ccf18d;
/* SwiftUI */
Color(red: 0.800, green: 0.945, blue: 0.553)
/* Android */
Color.parseColor("#ccf18d")Accessibility — WCAG contrast
Aa
#ccf18d on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccf18d on black: 16.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green94.5%
Blue55.3%
CMYK percentages
Cyan15.4%
Magenta0.0%
Yellow41.5%
Key (black)5.5%
Color previews
#ccf18d text on a black background
contrast 16.53:1
Card sample
#ccf18d text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccf18d;
Background color
Panel with #ccf18d background
background-color: #ccf18d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccf18d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 241, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 241, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf18d; background: linear-gradient(135deg, #ccf18d, #8DF191);