Skip to content

#b2db9d

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

RGB
178, 219, 157
HSL
100°, 46%, 74%
CMYK
19, 0, 28, 14
Luminance
0.6256

Every format

HEX#b2db9d
RGBrgb(178, 219, 157)
HSLhsl(100, 46%, 74%)
CMYKcmyk(19%, 0%, 28%, 14%)
LABlab(83.2 -24.6 26.2)
LCHlch(83.2 36.0 133.2)
OKLCHoklch(0.847 0.094 135.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2db9d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#b2db9d on black: 13.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.9%
Blue61.6%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow28.3%
Key (black)14.1%

Color previews

#b2db9d text on a black background

contrast 13.51:1

Card sample

#b2db9d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db9d in the Color Lab