Skip to content

#edba21

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

RGB
237, 186, 33
HSL
45°, 85%, 53%
CMYK
0, 22, 86, 7
Luminance
0.5323

Every format

HEX#edba21
RGBrgb(237, 186, 33)
HSLhsl(45, 85%, 53%)
CMYKcmyk(0%, 22%, 86%, 7%)
LABlab(78.0 5.7 75.2)
LCHlch(78.0 75.4 85.7)
OKLCHoklch(0.813 0.160 87.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edba21 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#edba21 on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green72.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta21.5%
Yellow86.1%
Key (black)7.1%

Color previews

#edba21 text on a black background

contrast 11.65:1

Card sample

#edba21 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edba21 in the Color Lab