Skip to content

#b2db9a

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

RGB
178, 219, 154
HSL
98°, 47%, 73%
CMYK
19, 0, 30, 14
Luminance
0.6246

Every format

HEX#b2db9a
RGBrgb(178, 219, 154)
HSLhsl(98, 47%, 73%)
CMYKcmyk(19%, 0%, 30%, 14%)
LABlab(83.2 -25.1 27.7)
LCHlch(83.2 37.4 132.1)
OKLCHoklch(0.846 0.097 134.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2db9a on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#b2db9a on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green85.9%
Blue60.4%

CMYK percentages

Cyan18.7%
Magenta0.0%
Yellow29.7%
Key (black)14.1%

Color previews

#b2db9a text on a black background

contrast 13.49:1

Card sample

#b2db9a text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2db9a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2db9a in the Color Lab