Skip to content

#b1df4d

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

RGB
177, 223, 77
HSL
79°, 70%, 59%
CMYK
21, 0, 66, 13
Luminance
0.6266

Every format

HEX#b1df4d
RGBrgb(177, 223, 77)
HSLhsl(79, 70%, 59%)
CMYKcmyk(21%, 0%, 66%, 13%)
LABlab(83.3 -35.7 64.1)
LCHlch(83.3 73.4 119.1)
OKLCHoklch(0.844 0.178 125.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b1df4d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#b1df4d on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.4%
Green87.5%
Blue30.2%

CMYK percentages

Cyan20.6%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#b1df4d text on a black background

contrast 13.53:1

Card sample

#b1df4d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b1df4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b1df4d in the Color Lab