Skip to content

#bacf8f

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

RGB
186, 207, 143
HSL
80°, 40%, 69%
CMYK
10, 0, 31, 19
Luminance
0.5705

Every format

HEX#bacf8f
RGBrgb(186, 207, 143)
HSLhsl(80, 40%, 69%)
CMYKcmyk(10%, 0%, 31%, 19%)
LABlab(80.2 -17.8 29.5)
LCHlch(80.2 34.5 121.1)
OKLCHoklch(0.823 0.088 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacf8f on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#bacf8f on black: 12.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green81.2%
Blue56.1%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow30.9%
Key (black)18.8%

Color previews

#bacf8f text on a black background

contrast 12.41:1

Card sample

#bacf8f text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 207, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf8f;
background: linear-gradient(135deg, #bacf8f, #8FCF8F);

Monochromatic scale

Palettes built from #bacf8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacf8f in the Color Lab