#cdf498
a light, electric green · cool · closest name: khaki
RGB
205, 244, 152
HSL
85°, 81%, 78%
CMYK
16, 0, 38, 4
Luminance
0.7995
Every format
| HEX | #cdf498 |
| RGB | rgb(205, 244, 152) |
| HSL | hsl(85, 81%, 78%) |
| CMYK | cmyk(16%, 0%, 38%, 4%) |
| LAB | lab(91.7 -27.7 40.3) |
| LCH | lch(91.7 48.9 124.5) |
| OKLCH | oklch(0.918 0.125 127.4) |
Copy-ready code
/* CSS */
color: #cdf498;
background-color: #cdf498;
/* Tailwind (arbitrary) */
class="text-[#cdf498] bg-[#cdf498]"
/* SCSS */
$brand: #cdf498;
/* SwiftUI */
Color(red: 0.804, green: 0.957, blue: 0.596)
/* Android */
Color.parseColor("#cdf498")Accessibility — WCAG contrast
Aa
#cdf498 on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf498 on black: 16.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green95.7%
Blue59.6%
CMYK percentages
Cyan16.0%
Magenta0.0%
Yellow37.7%
Key (black)4.3%
Color previews
#cdf498 text on a black background
contrast 16.99:1
Card sample
#cdf498 text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf498;
Background color
Panel with #cdf498 background
background-color: #cdf498;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf498;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 244, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 244, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf498; background: linear-gradient(135deg, #cdf498, #98F4A0);