Skip to content

#b4df5d

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

RGB
180, 223, 93
HSL
80°, 67%, 62%
CMYK
19, 0, 58, 13
Luminance
0.6327

Every format

HEX#b4df5d
RGBrgb(180, 223, 93)
HSLhsl(80, 67%, 62%)
CMYKcmyk(19%, 0%, 58%, 13%)
LABlab(83.6 -33.3 57.9)
LCHlch(83.6 66.8 119.9)
OKLCHoklch(0.847 0.164 125.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4df5d on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#b4df5d on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green87.5%
Blue36.5%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow58.3%
Key (black)12.5%

Color previews

#b4df5d text on a black background

contrast 13.65:1

Card sample

#b4df5d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df5d in the Color Lab