Skip to content

#b4df7c

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

RGB
180, 223, 124
HSL
86°, 61%, 68%
CMYK
19, 0, 44, 13
Luminance
0.6393

Every format

HEX#b4df7c
RGBrgb(180, 223, 124)
HSLhsl(86, 61%, 68%)
CMYKcmyk(19%, 0%, 44%, 13%)
LABlab(83.9 -30.2 43.9)
LCHlch(83.9 53.3 124.6)
OKLCHoklch(0.851 0.135 128.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green87.5%
Blue48.6%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow44.4%
Key (black)12.5%

Color previews

#b4df7c text on a black background

contrast 13.79:1

Card sample

#b4df7c text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df7c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df7c in the Color Lab