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