Skip to content

#baff8c

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

RGB
186, 255, 140
HSL
96°, 100%, 78%
CMYK
27, 0, 45, 0
Luminance
0.8385

Every format

HEX#baff8c
RGBrgb(186, 255, 140)
HSLhsl(96, 100%, 78%)
CMYKcmyk(27%, 0%, 45%, 0%)
LABlab(93.4 -40.8 48.0)
LCHlch(93.4 63.0 130.3)
OKLCHoklch(0.929 0.162 134.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#baff8c text on a black background

contrast 17.77:1

Card sample

#baff8c text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff8c in the Color Lab