Skip to content

#bdf921

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

RGB
189, 249, 33
HSL
77°, 95%, 55%
CMYK
24, 0, 87, 2
Luminance
0.7868

Every format

HEX#bdf921
RGBrgb(189, 249, 33)
HSLhsl(77, 95%, 55%)
CMYKcmyk(24%, 0%, 87%, 2%)
LABlab(91.1 -44.6 84.4)
LCHlch(91.1 95.4 117.9)
OKLCHoklch(0.908 0.224 125.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdf921 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#bdf921 on black: 16.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green97.6%
Blue12.9%

CMYK percentages

Cyan24.1%
Magenta0.0%
Yellow86.7%
Key (black)2.4%

Color previews

#bdf921 text on a black background

contrast 16.74:1

Card sample

#bdf921 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdf921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdf921 in the Color Lab