Skip to content

#b2df5b

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

RGB
178, 223, 91
HSL
81°, 67%, 62%
CMYK
20, 0, 59, 13
Luminance
0.6300

Every format

HEX#b2df5b
RGBrgb(178, 223, 91)
HSLhsl(81, 67%, 62%)
CMYKcmyk(20%, 0%, 59%, 13%)
LABlab(83.4 -34.3 58.5)
LCHlch(83.4 67.8 120.3)
OKLCHoklch(0.846 0.167 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2df5b on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#b2df5b on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green87.5%
Blue35.7%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow59.2%
Key (black)12.5%

Color previews

#b2df5b text on a black background

contrast 13.60:1

Card sample

#b2df5b text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 223, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 223, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2df5b;
background: linear-gradient(135deg, #b2df5b, #5BDF5C);

Monochromatic scale

Palettes built from #b2df5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2df5b in the Color Lab