Skip to content

#b2df89

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

RGB
178, 223, 137
HSL
91°, 57%, 71%
CMYK
20, 0, 39, 13
Luminance
0.6405

Every format

HEX#b2df89
RGBrgb(178, 223, 137)
HSLhsl(91, 57%, 71%)
CMYKcmyk(20%, 0%, 39%, 13%)
LABlab(84.0 -29.4 37.5)
LCHlch(84.0 47.6 128.1)
OKLCHoklch(0.852 0.122 131.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2df89 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#b2df89 on black: 13.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green87.5%
Blue53.7%

CMYK percentages

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

Color previews

#b2df89 text on a black background

contrast 13.81:1

Card sample

#b2df89 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2df89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2df89 in the Color Lab