Skip to content

#baff8f

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

RGB
186, 255, 143
HSL
97°, 100%, 78%
CMYK
27, 0, 44, 0
Luminance
0.8394

Every format

HEX#baff8f
RGBrgb(186, 255, 143)
HSLhsl(97, 100%, 78%)
CMYKcmyk(27%, 0%, 44%, 0%)
LABlab(93.4 -40.5 46.7)
LCHlch(93.4 61.8 130.9)
OKLCHoklch(0.929 0.159 134.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue56.1%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow43.9%
Key (black)0.0%

Color previews

#baff8f text on a black background

contrast 17.79:1

Card sample

#baff8f text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff8f in the Color Lab