Skip to content

#eaaa21

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

RGB
234, 170, 33
HSL
41°, 83%, 52%
CMYK
0, 27, 86, 8
Luminance
0.4635

Every format

HEX#eaaa21
RGBrgb(234, 170, 33)
HSLhsl(41, 83%, 52%)
CMYKcmyk(0%, 27%, 86%, 8%)
LABlab(73.8 12.8 71.6)
LCHlch(73.8 72.8 79.9)
OKLCHoklch(0.779 0.154 79.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eaaa21 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#eaaa21 on black: 10.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green66.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow85.9%
Key (black)8.2%

Color previews

#eaaa21 text on a black background

contrast 10.27:1

Card sample

#eaaa21 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eaaa21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eaaa21 in the Color Lab