#eedf21
a balanced, electric yellow · cool · closest name: gold
RGB
238, 223, 33
HSL
56°, 86%, 53%
CMYK
0, 6, 86, 7
Luminance
0.7106
Every format
| HEX | #eedf21 |
| RGB | rgb(238, 223, 33) |
| HSL | hsl(56, 86%, 53%) |
| CMYK | cmyk(0%, 6%, 86%, 7%) |
| LAB | lab(87.5 -12.7 82.9) |
| LCH | lch(87.5 83.8 98.7) |
| OKLCH | oklch(0.888 0.182 104.4) |
Copy-ready code
/* CSS */
color: #eedf21;
background-color: #eedf21;
/* Tailwind (arbitrary) */
class="text-[#eedf21] bg-[#eedf21]"
/* SCSS */
$brand: #eedf21;
/* SwiftUI */
Color(red: 0.933, green: 0.875, blue: 0.129)
/* Android */
Color.parseColor("#eedf21")Accessibility — WCAG contrast
Aa
#eedf21 on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eedf21 on black: 15.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red93.3%
Green87.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.3%
Yellow86.1%
Key (black)6.7%
Color previews
#eedf21 text on a black background
contrast 15.21:1
Card sample
#eedf21 text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eedf21;
Background color
Panel with #eedf21 background
background-color: #eedf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eedf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(238, 223, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 223, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eedf21; background: linear-gradient(135deg, #eedf21, #74EE21);