Skip to content

#eeaa21

a balanced, electric yellow · warm · closest name: orange

RGB
238, 170, 33
HSL
40°, 86%, 53%
CMYK
0, 29, 86, 7
Luminance
0.4704

Every format

HEX#eeaa21
RGBrgb(238, 170, 33)
HSLhsl(40, 86%, 53%)
CMYKcmyk(0%, 29%, 86%, 7%)
LABlab(74.2 14.5 72.2)
LCHlch(74.2 73.6 78.6)
OKLCHoklch(0.783 0.156 78.2)

Copy-ready code

/* CSS */
color: #eeaa21;
background-color: #eeaa21;
/* Tailwind (arbitrary) */
class="text-[#eeaa21] bg-[#eeaa21]"
/* SCSS */
$brand: #eeaa21;
/* SwiftUI */
Color(red: 0.933, green: 0.667, blue: 0.129)
/* Android */
Color.parseColor("#eeaa21")

Accessibility — WCAG contrast

Aa
#eeaa21 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#eeaa21 on black: 10.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green66.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta28.6%
Yellow86.1%
Key (black)6.7%

Color previews

#eeaa21 text on a black background

contrast 10.41:1

Card sample

#eeaa21 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #eeaa21;
Background color
Panel with #eeaa21 background
background-color: #eeaa21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #eeaa21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(238, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eeaa21;
background: linear-gradient(135deg, #eeaa21, #A9EE21);

Monochromatic scale

Palettes built from #eeaa21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eeaa21 in the Color Lab