Skip to content

#edfb21

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

RGB
237, 251, 33
HSL
64°, 97%, 56%
CMYK
6, 0, 87, 2
Luminance
0.8711

Every format

HEX#edfb21
RGBrgb(237, 251, 33)
HSLhsl(64, 97%, 56%)
CMYKcmyk(6%, 0%, 87%, 2%)
LABlab(94.8 -26.6 88.7)
LCHlch(94.8 92.6 106.7)
OKLCHoklch(0.946 0.207 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edfb21 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#edfb21 on black: 18.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green98.4%
Blue12.9%

CMYK percentages

Cyan5.6%
Magenta0.0%
Yellow86.9%
Key (black)1.6%

Color previews

#edfb21 text on a black background

contrast 18.42:1

Card sample

#edfb21 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #edfb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edfb21 in the Color Lab