Skip to content

#eddb21

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

RGB
237, 219, 33
HSL
55°, 85%, 53%
CMYK
0, 8, 86, 7
Luminance
0.6878

Every format

HEX#eddb21
RGBrgb(237, 219, 33)
HSLhsl(55, 85%, 53%)
CMYKcmyk(0%, 8%, 86%, 7%)
LABlab(86.4 -11.2 81.9)
LCHlch(86.4 82.7 97.8)
OKLCHoklch(0.879 0.179 103.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eddb21 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#eddb21 on black: 14.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green85.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta7.6%
Yellow86.1%
Key (black)7.1%

Color previews

#eddb21 text on a black background

contrast 14.76:1

Card sample

#eddb21 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eddb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eddb21 in the Color Lab