Skip to content

#baf09c

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

RGB
186, 240, 156
HSL
99°, 74%, 78%
CMYK
23, 0, 35, 6
Luminance
0.7516

Every format

HEX#baf09c
RGBrgb(186, 240, 156)
HSLhsl(99, 74%, 78%)
CMYKcmyk(23%, 0%, 35%, 6%)
LABlab(89.5 -31.9 35.2)
LCHlch(89.5 47.5 132.2)
OKLCHoklch(0.898 0.123 134.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baf09c on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#baf09c on black: 16.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green94.1%
Blue61.2%

CMYK percentages

Cyan22.5%
Magenta0.0%
Yellow35.0%
Key (black)5.9%

Color previews

#baf09c text on a black background

contrast 16.03:1

Card sample

#baf09c text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baf09c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baf09c in the Color Lab