Skip to content

#baff9c

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

RGB
186, 255, 156
HSL
102°, 100%, 81%
CMYK
27, 0, 39, 0
Luminance
0.8436

Every format

HEX#baff9c
RGBrgb(186, 255, 156)
HSLhsl(102, 100%, 81%)
CMYKcmyk(27%, 0%, 39%, 0%)
LABlab(93.6 -38.8 40.6)
LCHlch(93.6 56.1 133.7)
OKLCHoklch(0.931 0.146 136.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue61.2%

CMYK percentages

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

Color previews

#baff9c text on a black background

contrast 17.87:1

Card sample

#baff9c text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff9c in the Color Lab