Skip to content

#b2df3a

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

RGB
178, 223, 58
HSL
76°, 72%, 55%
CMYK
20, 0, 74, 13
Luminance
0.6255

Every format

HEX#b2df3a
RGBrgb(178, 223, 58)
HSLhsl(76, 72%, 55%)
CMYKcmyk(20%, 0%, 74%, 13%)
LABlab(83.2 -36.4 70.9)
LCHlch(83.2 79.7 117.2)
OKLCHoklch(0.843 0.190 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green87.5%
Blue22.7%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow74.0%
Key (black)12.5%

Color previews

#b2df3a text on a black background

contrast 13.51:1

Card sample

#b2df3a text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2df3a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2df3a in the Color Lab