Skip to content

#b2df9d

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

RGB
178, 223, 157
HSL
101°, 51%, 75%
CMYK
20, 0, 30, 13
Luminance
0.6467

Every format

HEX#b2df9d
RGBrgb(178, 223, 157)
HSLhsl(101, 51%, 75%)
CMYKcmyk(20%, 0%, 30%, 13%)
LABlab(84.3 -26.5 27.7)
LCHlch(84.3 38.4 133.8)
OKLCHoklch(0.855 0.100 136.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2df9d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#b2df9d on black: 13.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green87.5%
Blue61.6%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow29.6%
Key (black)12.5%

Color previews

#b2df9d text on a black background

contrast 13.93:1

Card sample

#b2df9d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2df9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2df9d in the Color Lab