#cdf07c
a light, electric green · cool · closest name: khaki
RGB
205, 240, 124
HSL
78°, 80%, 71%
CMYK
15, 0, 48, 6
Luminance
0.7675
Every format
| HEX | #cdf07c |
| RGB | rgb(205, 240, 124) |
| HSL | hsl(78, 80%, 71%) |
| CMYK | cmyk(15%, 0%, 48%, 6%) |
| LAB | lab(90.2 -28.9 51.9) |
| LCH | lch(90.2 59.5 119.1) |
| OKLCH | oklch(0.905 0.148 123.2) |
Copy-ready code
/* CSS */
color: #cdf07c;
background-color: #cdf07c;
/* Tailwind (arbitrary) */
class="text-[#cdf07c] bg-[#cdf07c]"
/* SCSS */
$brand: #cdf07c;
/* SwiftUI */
Color(red: 0.804, green: 0.941, blue: 0.486)
/* Android */
Color.parseColor("#cdf07c")Accessibility — WCAG contrast
Aa
#cdf07c on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf07c on black: 16.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.1%
Blue48.6%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow48.3%
Key (black)5.9%
Color previews
#cdf07c text on a black background
contrast 16.35:1
Card sample
#cdf07c text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf07c;
Background color
Panel with #cdf07c background
background-color: #cdf07c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf07c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 240, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf07c; background: linear-gradient(135deg, #cdf07c, #80F07C);