Skip to content

#eed921

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

RGB
238, 217, 33
HSL
54°, 86%, 53%
CMYK
0, 9, 86, 7
Luminance
0.6791

Every format

HEX#eed921
RGBrgb(238, 217, 33)
HSLhsl(54, 86%, 53%)
CMYKcmyk(0%, 9%, 86%, 7%)
LABlab(86.0 -9.8 81.6)
LCHlch(86.0 82.2 96.8)
OKLCHoklch(0.876 0.178 102.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eed921 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#eed921 on black: 14.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green85.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta8.8%
Yellow86.1%
Key (black)6.7%

Color previews

#eed921 text on a black background

contrast 14.58:1

Card sample

#eed921 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eed921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eed921 in the Color Lab