#cdf28d
a light, electric green · cool · closest name: khaki
RGB
205, 242, 141
HSL
82°, 80%, 75%
CMYK
15, 0, 42, 5
Luminance
0.7841
Every format
| HEX | #cdf28d |
| RGB | rgb(205, 242, 141) |
| HSL | hsl(82, 80%, 75%) |
| CMYK | cmyk(15%, 0%, 42%, 5%) |
| LAB | lab(91.0 -28.0 44.8) |
| LCH | lch(91.0 52.8 122.1) |
| OKLCH | oklch(0.912 0.134 125.4) |
Copy-ready code
/* CSS */
color: #cdf28d;
background-color: #cdf28d;
/* Tailwind (arbitrary) */
class="text-[#cdf28d] bg-[#cdf28d]"
/* SCSS */
$brand: #cdf28d;
/* SwiftUI */
Color(red: 0.804, green: 0.949, blue: 0.553)
/* Android */
Color.parseColor("#cdf28d")Accessibility — WCAG contrast
Aa
#cdf28d on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf28d on black: 16.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.9%
Blue55.3%
CMYK percentages
Cyan15.3%
Magenta0.0%
Yellow41.7%
Key (black)5.1%
Color previews
#cdf28d text on a black background
contrast 16.68:1
Card sample
#cdf28d text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf28d;
Background color
Panel with #cdf28d background
background-color: #cdf28d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf28d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 242, 141, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 242, 141, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf28d; background: linear-gradient(135deg, #cdf28d, #8DF290);