Skip to content

#b2f25f

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

RGB
178, 242, 95
HSL
86°, 85%, 66%
CMYK
26, 0, 61, 5
Luminance
0.7380

Every format

HEX#b2f25f
RGBrgb(178, 242, 95)
HSLhsl(86, 85%, 66%)
CMYKcmyk(26%, 0%, 61%, 5%)
LABlab(88.8 -42.4 62.8)
LCHlch(88.8 75.8 124.0)
OKLCHoklch(0.889 0.188 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2f25f on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#b2f25f on black: 15.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green94.9%
Blue37.3%

CMYK percentages

Cyan26.4%
Magenta0.0%
Yellow60.7%
Key (black)5.1%

Color previews

#b2f25f text on a black background

contrast 15.76:1

Card sample

#b2f25f text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 242, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 242, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f25f;
background: linear-gradient(135deg, #b2f25f, #5FF26E);

Monochromatic scale

Palettes built from #b2f25f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2f25f in the Color Lab