Skip to content

#baff7f

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

RGB
186, 255, 127
HSL
92°, 100%, 75%
CMYK
27, 0, 50, 0
Luminance
0.8349

Every format

HEX#baff7f
RGBrgb(186, 255, 127)
HSLhsl(92, 100%, 75%)
CMYKcmyk(27%, 0%, 50%, 0%)
LABlab(93.2 -42.3 53.9)
LCHlch(93.2 68.5 128.1)
OKLCHoklch(0.927 0.174 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baff7f on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#baff7f on black: 17.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green100.0%
Blue49.8%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow50.2%
Key (black)0.0%

Color previews

#baff7f text on a black background

contrast 17.70:1

Card sample

#baff7f text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff7f in the Color Lab