Skip to content

#b5df50

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

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

Every format

HEX#b5df50
RGBrgb(181, 223, 80)
HSLhsl(78, 69%, 59%)
CMYKcmyk(19%, 0%, 64%, 13%)
LABlab(83.5 -34.0 63.3)
LCHlch(83.5 71.8 118.2)
OKLCHoklch(0.847 0.174 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green87.5%
Blue31.4%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow64.1%
Key (black)12.5%

Color previews

#b5df50 text on a black background

contrast 13.64:1

Card sample

#b5df50 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5df50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5df50 in the Color Lab