Skip to content

#baff97

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

RGB
186, 255, 151
HSL
100°, 100%, 80%
CMYK
27, 0, 41, 0
Luminance
0.8419

Every format

HEX#baff97
RGBrgb(186, 255, 151)
HSLhsl(100, 100%, 80%)
CMYKcmyk(27%, 0%, 41%, 0%)
LABlab(93.5 -39.4 42.9)
LCHlch(93.5 58.3 132.6)
OKLCHoklch(0.930 0.151 135.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baff97 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#baff97 on black: 17.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue59.2%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow40.8%
Key (black)0.0%

Color previews

#baff97 text on a black background

contrast 17.84:1

Card sample

#baff97 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 255, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 255, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baff97;
background: linear-gradient(135deg, #baff97, #97FFB9);

Monochromatic scale

Palettes built from #baff97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff97 in the Color Lab