Skip to content

#b2f97f

a light, electric green · cool · closest name: khaki

RGB
178, 249, 127
HSL
95°, 91%, 74%
CMYK
29, 0, 49, 2
Luminance
0.7875

Every format

HEX#b2f97f
RGBrgb(178, 249, 127)
HSLhsl(95, 91%, 74%)
CMYKcmyk(29%, 0%, 49%, 2%)
LABlab(91.1 -42.4 51.3)
LCHlch(91.1 66.5 129.6)
OKLCHoklch(0.909 0.170 133.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2f97f on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#b2f97f on black: 16.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green97.6%
Blue49.8%

CMYK percentages

Cyan28.5%
Magenta0.0%
Yellow49.0%
Key (black)2.4%

Color previews

#b2f97f text on a black background

contrast 16.75:1

Card sample

#b2f97f text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 249, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 249, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f97f;
background: linear-gradient(135deg, #b2f97f, #7FF99D);

Monochromatic scale

Palettes built from #b2f97f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f97f in the Color Lab