#eeac21
a balanced, electric yellow · warm · closest name: orange
RGB
238, 172, 33
HSL
41°, 86%, 53%
CMYK
0, 28, 86, 7
Luminance
0.4779
Every format
| HEX | #eeac21 |
| RGB | rgb(238, 172, 33) |
| HSL | hsl(41, 86%, 53%) |
| CMYK | cmyk(0%, 28%, 86%, 7%) |
| LAB | lab(74.7 13.5 72.5) |
| LCH | lch(74.7 73.8 79.5) |
| OKLCH | oklch(0.787 0.156 79.4) |
Copy-ready code
/* CSS */
color: #eeac21;
background-color: #eeac21;
/* Tailwind (arbitrary) */
class="text-[#eeac21] bg-[#eeac21]"
/* SCSS */
$brand: #eeac21;
/* SwiftUI */
Color(red: 0.933, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#eeac21")Accessibility — WCAG contrast
Aa
#eeac21 on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eeac21 on black: 10.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red93.3%
Green67.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta27.7%
Yellow86.1%
Key (black)6.7%
Color previews
#eeac21 text on a black background
contrast 10.56:1
Card sample
#eeac21 text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eeac21;
Background color
Panel with #eeac21 background
background-color: #eeac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eeac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(238, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eeac21; background: linear-gradient(135deg, #eeac21, #A7EE21);