Skip to content

#b2d921

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

RGB
178, 217, 33
HSL
73°, 74%, 49%
CMYK
18, 0, 85, 15
Luminance
0.5920

Every format

HEX#b2d921
RGBrgb(178, 217, 33)
HSLhsl(73, 74%, 49%)
CMYKcmyk(18%, 0%, 85%, 15%)
LABlab(81.4 -34.7 76.0)
LCHlch(81.4 83.5 114.5)
OKLCHoklch(0.828 0.194 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2d921 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#b2d921 on black: 12.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.1%
Blue12.9%

CMYK percentages

Cyan18.0%
Magenta0.0%
Yellow84.8%
Key (black)14.9%

Color previews

#b2d921 text on a black background

contrast 12.84:1

Card sample

#b2d921 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2d921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2d921 in the Color Lab