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