Skip to content

#b2db9e

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

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

Every format

HEX#b2db9e
RGBrgb(178, 219, 158)
HSLhsl(100, 46%, 74%)
CMYKcmyk(19%, 0%, 28%, 14%)
LABlab(83.2 -24.5 25.7)
LCHlch(83.2 35.5 133.6)
OKLCHoklch(0.847 0.093 135.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green85.9%
Blue62.0%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow27.9%
Key (black)14.1%

Color previews

#b2db9e text on a black background

contrast 13.52:1

Card sample

#b2db9e text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db9e in the Color Lab