Skip to content

#b4df4d

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

RGB
180, 223, 77
HSL
78°, 70%, 59%
CMYK
19, 0, 66, 13
Luminance
0.6301

Every format

HEX#b4df4d
RGBrgb(180, 223, 77)
HSLhsl(78, 70%, 59%)
CMYKcmyk(19%, 0%, 66%, 13%)
LABlab(83.5 -34.5 64.3)
LCHlch(83.5 73.0 118.2)
OKLCHoklch(0.846 0.177 124.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green87.5%
Blue30.2%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#b4df4d text on a black background

contrast 13.60:1

Card sample

#b4df4d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df4d in the Color Lab