Skip to content

#eddd21

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

RGB
237, 221, 33
HSL
55°, 85%, 53%
CMYK
0, 7, 86, 7
Luminance
0.6983

Every format

HEX#eddd21
RGBrgb(237, 221, 33)
HSLhsl(55, 85%, 53%)
CMYKcmyk(0%, 7%, 86%, 7%)
LABlab(86.9 -12.2 82.3)
LCHlch(86.9 83.2 98.4)
OKLCHoklch(0.883 0.181 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eddd21 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#eddd21 on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green86.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow86.1%
Key (black)7.1%

Color previews

#eddd21 text on a black background

contrast 14.97:1

Card sample

#eddd21 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eddd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eddd21 in the Color Lab