Skip to content

#edab21

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

RGB
237, 171, 33
HSL
41°, 85%, 53%
CMYK
0, 28, 86, 7
Luminance
0.4724

Every format

HEX#edab21
RGBrgb(237, 171, 33)
HSLhsl(41, 85%, 53%)
CMYKcmyk(0%, 28%, 86%, 7%)
LABlab(74.3 13.6 72.2)
LCHlch(74.3 73.5 79.4)
OKLCHoklch(0.784 0.155 79.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edab21 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#edab21 on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green67.1%
Blue12.9%

CMYK percentages

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

Color previews

#edab21 text on a black background

contrast 10.45:1

Card sample

#edab21 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edab21 in the Color Lab