Skip to content

#baf99c

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

RGB
186, 249, 156
HSL
101°, 89%, 79%
CMYK
25, 0, 37, 2
Luminance
0.8059

Every format

HEX#baf99c
RGBrgb(186, 249, 156)
HSLhsl(101, 89%, 79%)
CMYKcmyk(25%, 0%, 37%, 2%)
LABlab(92.0 -36.1 38.4)
LCHlch(92.0 52.7 133.2)
OKLCHoklch(0.918 0.137 136.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf99c on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#baf99c on black: 17.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green97.6%
Blue61.2%

CMYK percentages

Cyan25.3%
Magenta0.0%
Yellow37.3%
Key (black)2.4%

Color previews

#baf99c text on a black background

contrast 17.12:1

Card sample

#baf99c text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf99c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf99c in the Color Lab