#cdf158
a balanced, electric green · cool · closest name: yellow
RGB
205, 241, 88
HSL
74°, 85%, 65%
CMYK
15, 0, 64, 6
Luminance
0.7659
Every format
| HEX | #cdf158 |
| RGB | rgb(205, 241, 88) |
| HSL | hsl(74, 85%, 65%) |
| CMYK | cmyk(15%, 0%, 64%, 6%) |
| LAB | lab(90.1 -32.4 67.5) |
| LCH | lch(90.1 74.9 115.6) |
| OKLCH | oklch(0.904 0.180 121.4) |
Copy-ready code
/* CSS */
color: #cdf158;
background-color: #cdf158;
/* Tailwind (arbitrary) */
class="text-[#cdf158] bg-[#cdf158]"
/* SCSS */
$brand: #cdf158;
/* SwiftUI */
Color(red: 0.804, green: 0.945, blue: 0.345)
/* Android */
Color.parseColor("#cdf158")Accessibility — WCAG contrast
Aa
#cdf158 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf158 on black: 16.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.5%
Blue34.5%
CMYK percentages
Cyan14.9%
Magenta0.0%
Yellow63.5%
Key (black)5.5%
Color previews
#cdf158 text on a black background
contrast 16.32:1
Card sample
#cdf158 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf158;
Background color
Panel with #cdf158 background
background-color: #cdf158;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf158;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 241, 88, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 241, 88, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf158; background: linear-gradient(135deg, #cdf158, #67F158);