#cddf1d
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 223, 29
HSL
66°, 77%, 49%
CMYK
8, 0, 87, 13
Luminance
0.6584
Every format
| HEX | #cddf1d |
| RGB | rgb(205, 223, 29) |
| HSL | hsl(66, 77%, 49%) |
| CMYK | cmyk(8%, 0%, 87%, 13%) |
| LAB | lab(84.9 -26.6 80.4) |
| LCH | lch(84.9 84.7 108.3) |
| OKLCH | oklch(0.861 0.191 115.6) |
Copy-ready code
/* CSS */
color: #cddf1d;
background-color: #cddf1d;
/* Tailwind (arbitrary) */
class="text-[#cddf1d] bg-[#cddf1d]"
/* SCSS */
$brand: #cddf1d;
/* SwiftUI */
Color(red: 0.804, green: 0.875, blue: 0.114)
/* Android */
Color.parseColor("#cddf1d")Accessibility — WCAG contrast
Aa
#cddf1d on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cddf1d on black: 14.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green87.5%
Blue11.4%
CMYK percentages
Cyan8.1%
Magenta0.0%
Yellow87.0%
Key (black)12.5%
Color previews
#cddf1d text on a black background
contrast 14.17:1
Card sample
#cddf1d text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cddf1d;
Background color
Panel with #cddf1d background
background-color: #cddf1d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cddf1d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 223, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 223, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddf1d; background: linear-gradient(135deg, #cddf1d, #4CDF1D);