Skip to content

#b4df50

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

RGB
180, 223, 80
HSL
78°, 69%, 59%
CMYK
19, 0, 64, 13
Luminance
0.6306

Every format

HEX#b4df50
RGBrgb(180, 223, 80)
HSLhsl(78, 69%, 59%)
CMYKcmyk(19%, 0%, 64%, 13%)
LABlab(83.5 -34.3 63.2)
LCHlch(83.5 71.9 118.5)
OKLCHoklch(0.846 0.175 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green87.5%
Blue31.4%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow64.1%
Key (black)12.5%

Color previews

#b4df50 text on a black background

contrast 13.61:1

Card sample

#b4df50 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df50 in the Color Lab