Skip to content

#baff8b

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

RGB
186, 255, 139
HSL
96°, 100%, 77%
CMYK
27, 0, 46, 0
Luminance
0.8382

Every format

HEX#baff8b
RGBrgb(186, 255, 139)
HSLhsl(96, 100%, 77%)
CMYKcmyk(27%, 0%, 46%, 0%)
LABlab(93.4 -40.9 48.5)
LCHlch(93.4 63.5 130.2)
OKLCHoklch(0.929 0.163 133.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue54.5%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow45.5%
Key (black)0.0%

Color previews

#baff8b text on a black background

contrast 17.76:1

Card sample

#baff8b text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff8b in the Color Lab