#cdf27c
a light, electric green · cool · closest name: khaki
RGB
205, 242, 124
HSL
79°, 82%, 72%
CMYK
15, 0, 49, 5
Luminance
0.7794
Every format
| HEX | #cdf27c |
| RGB | rgb(205, 242, 124) |
| HSL | hsl(79, 82%, 72%) |
| CMYK | cmyk(15%, 0%, 49%, 5%) |
| LAB | lab(90.8 -29.9 52.6) |
| LCH | lch(90.8 60.5 119.6) |
| OKLCH | oklch(0.910 0.151 123.7) |
Copy-ready code
/* CSS */
color: #cdf27c;
background-color: #cdf27c;
/* Tailwind (arbitrary) */
class="text-[#cdf27c] bg-[#cdf27c]"
/* SCSS */
$brand: #cdf27c;
/* SwiftUI */
Color(red: 0.804, green: 0.949, blue: 0.486)
/* Android */
Color.parseColor("#cdf27c")Accessibility — WCAG contrast
Aa
#cdf27c on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf27c on black: 16.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.9%
Blue48.6%
CMYK percentages
Cyan15.3%
Magenta0.0%
Yellow48.8%
Key (black)5.1%
Color previews
#cdf27c text on a black background
contrast 16.59:1
Card sample
#cdf27c text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf27c;
Background color
Panel with #cdf27c background
background-color: #cdf27c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf27c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 242, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 242, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf27c; background: linear-gradient(135deg, #cdf27c, #7FF27C);