Skip to content

#b2ff7e

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

RGB
178, 255, 126
HSL
96°, 100%, 75%
CMYK
30, 0, 51, 0
Luminance
0.8249

Every format

HEX#b2ff7e
RGBrgb(178, 255, 126)
HSLhsl(96, 100%, 75%)
CMYKcmyk(30%, 0%, 51%, 0%)
LABlab(92.8 -45.1 53.8)
LCHlch(92.8 70.2 130.0)
OKLCHoklch(0.922 0.179 134.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2ff7e on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#b2ff7e on black: 17.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green100.0%
Blue49.4%

CMYK percentages

Cyan30.2%
Magenta0.0%
Yellow50.6%
Key (black)0.0%

Color previews

#b2ff7e text on a black background

contrast 17.50:1

Card sample

#b2ff7e text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2ff7e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2ff7e in the Color Lab