#eeaa11
a balanced, electric yellow · warm · closest name: orange
RGB
238, 170, 17
HSL
42°, 87%, 50%
CMYK
0, 29, 93, 7
Luminance
0.4697
Every format
| HEX | #eeaa11 |
| RGB | rgb(238, 170, 17) |
| HSL | hsl(42, 87%, 50%) |
| CMYK | cmyk(0%, 29%, 93%, 7%) |
| LAB | lab(74.2 14.3 75.4) |
| LCH | lch(74.2 76.8 79.3) |
| OKLCH | oklch(0.783 0.160 79.2) |
Copy-ready code
/* CSS */
color: #eeaa11;
background-color: #eeaa11;
/* Tailwind (arbitrary) */
class="text-[#eeaa11] bg-[#eeaa11]"
/* SCSS */
$brand: #eeaa11;
/* SwiftUI */
Color(red: 0.933, green: 0.667, blue: 0.067)
/* Android */
Color.parseColor("#eeaa11")Accessibility — WCAG contrast
Aa
#eeaa11 on white: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eeaa11 on black: 10.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red93.3%
Green66.7%
Blue6.7%
CMYK percentages
Cyan0.0%
Magenta28.6%
Yellow92.9%
Key (black)6.7%
Color previews
#eeaa11 text on a black background
contrast 10.39:1
Card sample
#eeaa11 text on a white background
contrast 2.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eeaa11;
Background color
Panel with #eeaa11 background
background-color: #eeaa11;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eeaa11;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(238, 170, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 170, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eeaa11; background: linear-gradient(135deg, #eeaa11, #9FEE11);