Skip to content

#b5df4d

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

RGB
181, 223, 77
HSL
77°, 70%, 59%
CMYK
19, 0, 66, 13
Luminance
0.6313

Every format

HEX#b5df4d
RGBrgb(181, 223, 77)
HSLhsl(77, 70%, 59%)
CMYKcmyk(19%, 0%, 66%, 13%)
LABlab(83.5 -34.2 64.4)
LCHlch(83.5 72.9 117.9)
OKLCHoklch(0.846 0.176 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green87.5%
Blue30.2%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#b5df4d text on a black background

contrast 13.63:1

Card sample

#b5df4d text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5df4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5df4d in the Color Lab