Skip to content

#b4df46

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

RGB
180, 223, 70
HSL
77°, 71%, 58%
CMYK
19, 0, 69, 13
Luminance
0.6292

Every format

HEX#b4df46
RGBrgb(180, 223, 70)
HSLhsl(77, 71%, 58%)
CMYKcmyk(19%, 0%, 69%, 13%)
LABlab(83.4 -35.0 67.0)
LCHlch(83.4 75.5 117.6)
OKLCHoklch(0.845 0.182 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.6%
Green87.5%
Blue27.5%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow68.6%
Key (black)12.5%

Color previews

#b4df46 text on a black background

contrast 13.58:1

Card sample

#b4df46 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4df46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4df46 in the Color Lab