Skip to content

#bacf8c

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

RGB
186, 207, 140
HSL
79°, 41%, 68%
CMYK
10, 0, 32, 19
Luminance
0.5696

Every format

HEX#bacf8c
RGBrgb(186, 207, 140)
HSLhsl(79, 41%, 68%)
CMYKcmyk(10%, 0%, 32%, 19%)
LABlab(80.2 -18.3 31.0)
LCHlch(80.2 36.0 120.5)
OKLCHoklch(0.823 0.092 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green81.2%
Blue54.9%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow32.4%
Key (black)18.8%

Color previews

#bacf8c text on a black background

contrast 12.39:1

Card sample

#bacf8c text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacf8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacf8c in the Color Lab