Skip to content

#b2df8f

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

RGB
178, 223, 143
HSL
94°, 56%, 72%
CMYK
20, 0, 36, 13
Luminance
0.6422

Every format

HEX#b2df8f
RGBrgb(178, 223, 143)
HSLhsl(94, 56%, 72%)
CMYKcmyk(20%, 0%, 36%, 13%)
LABlab(84.1 -28.6 34.6)
LCHlch(84.1 44.8 129.6)
OKLCHoklch(0.853 0.116 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green87.5%
Blue56.1%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow35.9%
Key (black)12.5%

Color previews

#b2df8f text on a black background

contrast 13.84:1

Card sample

#b2df8f text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2df8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2df8f in the Color Lab