#cdf01d
a balanced, electric green · cool · closest name: yellow
RGB
205, 240, 29
HSL
70°, 88%, 53%
CMYK
15, 0, 88, 6
Luminance
0.7539
Every format
| HEX | #cdf01d |
| RGB | rgb(205, 240, 29) |
| HSL | hsl(70, 88%, 53%) |
| CMYK | cmyk(15%, 0%, 88%, 6%) |
| LAB | lab(89.6 -34.5 84.2) |
| LCH | lch(89.6 91.0 112.3) |
| OKLCH | oklch(0.898 0.208 120.0) |
Copy-ready code
/* CSS */
color: #cdf01d;
background-color: #cdf01d;
/* Tailwind (arbitrary) */
class="text-[#cdf01d] bg-[#cdf01d]"
/* SCSS */
$brand: #cdf01d;
/* SwiftUI */
Color(red: 0.804, green: 0.941, blue: 0.114)
/* Android */
Color.parseColor("#cdf01d")Accessibility — WCAG contrast
Aa
#cdf01d on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf01d on black: 16.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.1%
Blue11.4%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow87.9%
Key (black)5.9%
Color previews
#cdf01d text on a black background
contrast 16.08:1
Card sample
#cdf01d text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf01d;
Background color
Panel with #cdf01d background
background-color: #cdf01d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf01d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 240, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf01d; background: linear-gradient(135deg, #cdf01d, #40F01D);