Skip to content

#b4df8b

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

RGB
180, 223, 139
HSL
91°, 57%, 71%
CMYK
19, 0, 38, 13
Luminance
0.6434

Every format

HEX#b4df8b
RGBrgb(180, 223, 139)
HSLhsl(91, 57%, 71%)
CMYKcmyk(19%, 0%, 38%, 13%)
LABlab(84.1 -28.4 36.7)
LCHlch(84.1 46.4 127.7)
OKLCHoklch(0.853 0.119 130.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4df8b on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#b4df8b on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green87.5%
Blue54.5%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow37.7%
Key (black)12.5%

Color previews

#b4df8b text on a black background

contrast 13.87:1

Card sample

#b4df8b text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df8b in the Color Lab