Skip to content

#baf49d

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

RGB
186, 244, 157
HSL
100°, 80%, 79%
CMYK
24, 0, 36, 4
Luminance
0.7757

Every format

HEX#baf49d
RGBrgb(186, 244, 157)
HSLhsl(100, 80%, 79%)
CMYKcmyk(24%, 0%, 36%, 4%)
LABlab(90.6 -33.7 36.2)
LCHlch(90.6 49.4 132.9)
OKLCHoklch(0.907 0.129 135.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf49d on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#baf49d on black: 16.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green95.7%
Blue61.6%

CMYK percentages

Cyan23.8%
Magenta0.0%
Yellow35.7%
Key (black)4.3%

Color previews

#baf49d text on a black background

contrast 16.51:1

Card sample

#baf49d text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf49d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf49d in the Color Lab