Skip to content

#eadd21

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

RGB
234, 221, 33
HSL
56°, 83%, 52%
CMYK
0, 6, 86, 8
Luminance
0.6932

Every format

HEX#eadd21
RGBrgb(234, 221, 33)
HSLhsl(56, 83%, 52%)
CMYKcmyk(0%, 6%, 86%, 8%)
LABlab(86.7 -13.4 82.0)
LCHlch(86.7 83.1 99.3)
OKLCHoklch(0.880 0.181 105.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eadd21 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#eadd21 on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red91.8%
Green86.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta5.6%
Yellow85.9%
Key (black)8.2%

Color previews

#eadd21 text on a black background

contrast 14.86:1

Card sample

#eadd21 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eadd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eadd21 in the Color Lab