Skip to content

#b9d921

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

RGB
185, 217, 33
HSL
70°, 74%, 49%
CMYK
15, 0, 85, 15
Luminance
0.6005

Every format

HEX#b9d921
RGBrgb(185, 217, 33)
HSLhsl(70, 74%, 49%)
CMYKcmyk(15%, 0%, 85%, 15%)
LABlab(81.9 -31.9 76.6)
LCHlch(81.9 82.9 112.6)
OKLCHoklch(0.833 0.191 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9d921 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#b9d921 on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green85.1%
Blue12.9%

CMYK percentages

Cyan14.7%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#b9d921 text on a black background

contrast 13.01:1

Card sample

#b9d921 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b9d921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9d921 in the Color Lab