Skip to content

#edf921

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

RGB
237, 249, 33
HSL
63°, 95%, 55%
CMYK
5, 0, 87, 2
Luminance
0.8587

Every format

HEX#edf921
RGBrgb(237, 249, 33)
HSLhsl(63, 95%, 55%)
CMYKcmyk(5%, 0%, 87%, 2%)
LABlab(94.3 -25.7 88.3)
LCHlch(94.3 91.9 106.2)
OKLCHoklch(0.942 0.205 113.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edf921 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#edf921 on black: 18.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green97.6%
Blue12.9%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#edf921 text on a black background

contrast 18.17:1

Card sample

#edf921 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edf921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edf921 in the Color Lab