Skip to content

#eae921

a balanced, electric yellow · cool · closest name: yellow

RGB
234, 233, 33
HSL
60°, 83%, 52%
CMYK
0, 0, 86, 8
Luminance
0.7588

Every format

HEX#eae921
RGBrgb(234, 233, 33)
HSLhsl(60, 83%, 52%)
CMYKcmyk(0%, 0%, 86%, 8%)
LABlab(89.8 -19.3 84.6)
LCHlch(89.8 86.8 102.9)
OKLCHoklch(0.905 0.191 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eae921 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#eae921 on black: 16.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green91.4%
Blue12.9%

CMYK percentages

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

Color previews

#eae921 text on a black background

contrast 16.18:1

Card sample

#eae921 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eae921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eae921 in the Color Lab