Skip to content

#b9e921

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

RGB
185, 233, 33
HSL
74°, 82%, 52%
CMYK
21, 0, 86, 9
Luminance
0.6870

Every format

HEX#b9e921
RGBrgb(185, 233, 33)
HSLhsl(74, 82%, 52%)
CMYKcmyk(21%, 0%, 86%, 9%)
LABlab(86.4 -39.1 80.3)
LCHlch(86.4 89.3 116.0)
OKLCHoklch(0.869 0.208 123.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9e921 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#b9e921 on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green91.4%
Blue12.9%

CMYK percentages

Cyan20.6%
Magenta0.0%
Yellow85.8%
Key (black)8.6%

Color previews

#b9e921 text on a black background

contrast 14.74:1

Card sample

#b9e921 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(185, 233, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 233, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b9e921;
background: linear-gradient(135deg, #b9e921, #34E921);

Monochromatic scale

Palettes built from #b9e921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9e921 in the Color Lab