Skip to content

#b1dd21

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

RGB
177, 221, 33
HSL
74°, 74%, 50%
CMYK
20, 0, 85, 13
Luminance
0.6117

Every format

HEX#b1dd21
RGBrgb(177, 221, 33)
HSLhsl(74, 74%, 50%)
CMYKcmyk(20%, 0%, 85%, 13%)
LABlab(82.5 -36.9 76.9)
LCHlch(82.5 85.3 115.6)
OKLCHoklch(0.836 0.199 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b1dd21 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#b1dd21 on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green86.7%
Blue12.9%

CMYK percentages

Cyan19.9%
Magenta0.0%
Yellow85.1%
Key (black)13.3%

Color previews

#b1dd21 text on a black background

contrast 13.23:1

Card sample

#b1dd21 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b1dd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b1dd21 in the Color Lab