Skip to content

#baff7b

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

RGB
186, 255, 123
HSL
91°, 100%, 74%
CMYK
27, 0, 52, 0
Luminance
0.8339

Every format

HEX#baff7b
RGBrgb(186, 255, 123)
HSLhsl(91, 100%, 74%)
CMYKcmyk(27%, 0%, 52%, 0%)
LABlab(93.2 -42.7 55.7)
LCHlch(93.2 70.2 127.5)
OKLCHoklch(0.927 0.178 131.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green100.0%
Blue48.2%

CMYK percentages

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

Color previews

#baff7b text on a black background

contrast 17.68:1

Card sample

#baff7b text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baff7b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baff7b in the Color Lab