Skip to content

#baff7c

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

RGB
186, 255, 124
HSL
92°, 100%, 74%
CMYK
27, 0, 51, 0
Luminance
0.8341

Every format

HEX#baff7c
RGBrgb(186, 255, 124)
HSLhsl(92, 100%, 74%)
CMYKcmyk(27%, 0%, 51%, 0%)
LABlab(93.2 -42.6 55.3)
LCHlch(93.2 69.8 127.6)
OKLCHoklch(0.927 0.177 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue48.6%

CMYK percentages

Cyan27.1%
Magenta0.0%
Yellow51.4%
Key (black)0.0%

Color previews

#baff7c text on a black background

contrast 17.68:1

Card sample

#baff7c text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff7c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff7c in the Color Lab