Skip to content

#b4d921

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

RGB
180, 217, 33
HSL
72°, 74%, 49%
CMYK
17, 0, 85, 15
Luminance
0.5944

Every format

HEX#b4d921
RGBrgb(180, 217, 33)
HSLhsl(72, 74%, 49%)
CMYKcmyk(17%, 0%, 85%, 15%)
LABlab(81.5 -33.9 76.2)
LCHlch(81.5 83.3 114.0)
OKLCHoklch(0.829 0.193 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4d921 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#b4d921 on black: 12.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green85.1%
Blue12.9%

CMYK percentages

Cyan17.1%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#b4d921 text on a black background

contrast 12.89:1

Card sample

#b4d921 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4d921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4d921 in the Color Lab