Skip to content

#b5d921

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

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

Every format

HEX#b5d921
RGBrgb(181, 217, 33)
HSLhsl(72, 74%, 49%)
CMYKcmyk(17%, 0%, 85%, 15%)
LABlab(81.6 -33.5 76.2)
LCHlch(81.6 83.3 113.7)
OKLCHoklch(0.830 0.193 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green85.1%
Blue12.9%

CMYK percentages

Cyan16.6%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#b5d921 text on a black background

contrast 12.91:1

Card sample

#b5d921 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5d921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5d921 in the Color Lab