Skip to content

#b4e921

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

RGB
180, 233, 33
HSL
76°, 82%, 52%
CMYK
23, 0, 86, 9
Luminance
0.6809

Every format

HEX#b4e921
RGBrgb(180, 233, 33)
HSLhsl(76, 82%, 52%)
CMYKcmyk(23%, 0%, 86%, 9%)
LABlab(86.0 -41.0 80.0)
LCHlch(86.0 89.9 117.2)
OKLCHoklch(0.866 0.210 124.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4e921 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#b4e921 on black: 14.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green91.4%
Blue12.9%

CMYK percentages

Cyan22.7%
Magenta0.0%
Yellow85.8%
Key (black)8.6%

Color previews

#b4e921 text on a black background

contrast 14.62:1

Card sample

#b4e921 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4e921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4e921 in the Color Lab