Skip to content

#edaa21

a balanced, electric yellow · warm · closest name: orange

RGB
237, 170, 33
HSL
40°, 85%, 53%
CMYK
0, 28, 86, 7
Luminance
0.4686

Every format

HEX#edaa21
RGBrgb(237, 170, 33)
HSLhsl(40, 85%, 53%)
CMYKcmyk(0%, 28%, 86%, 7%)
LABlab(74.1 14.1 72.0)
LCHlch(74.1 73.4 78.9)
OKLCHoklch(0.782 0.155 78.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edaa21 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#edaa21 on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green66.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow86.1%
Key (black)7.1%

Color previews

#edaa21 text on a black background

contrast 10.37:1

Card sample

#edaa21 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edaa21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edaa21 in the Color Lab