Skip to content

#b9df4d

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

RGB
185, 223, 77
HSL
76°, 70%, 59%
CMYK
17, 0, 66, 13
Luminance
0.6363

Every format

HEX#b9df4d
RGBrgb(185, 223, 77)
HSLhsl(76, 70%, 59%)
CMYKcmyk(17%, 0%, 66%, 13%)
LABlab(83.8 -32.6 64.8)
LCHlch(83.8 72.5 116.7)
OKLCHoklch(0.849 0.175 122.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9df4d on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#b9df4d on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green87.5%
Blue30.2%

CMYK percentages

Cyan17.0%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#b9df4d text on a black background

contrast 13.73:1

Card sample

#b9df4d text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b9df4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9df4d in the Color Lab