Skip to content

#b4df5f

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

RGB
180, 223, 95
HSL
80°, 67%, 62%
CMYK
19, 0, 57, 13
Luminance
0.6330

Every format

HEX#b4df5f
RGBrgb(180, 223, 95)
HSLhsl(80, 67%, 62%)
CMYKcmyk(19%, 0%, 57%, 13%)
LABlab(83.6 -33.2 57.0)
LCHlch(83.6 65.9 120.2)
OKLCHoklch(0.847 0.163 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green87.5%
Blue37.3%

CMYK percentages

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

Color previews

#b4df5f text on a black background

contrast 13.66:1

Card sample

#b4df5f text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df5f in the Color Lab