Skip to content

#bdef21

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

RGB
189, 239, 33
HSL
75°, 87%, 53%
CMYK
21, 0, 86, 6
Luminance
0.7266

Every format

HEX#bdef21
RGBrgb(189, 239, 33)
HSLhsl(75, 87%, 53%)
CMYKcmyk(21%, 0%, 86%, 6%)
LABlab(88.3 -40.2 82.0)
LCHlch(88.3 91.4 116.1)
OKLCHoklch(0.885 0.213 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bdef21 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#bdef21 on black: 15.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green93.7%
Blue12.9%

CMYK percentages

Cyan20.9%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#bdef21 text on a black background

contrast 15.53:1

Card sample

#bdef21 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bdef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bdef21 in the Color Lab