Skip to content

#bac7ac

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

RGB
186, 199, 172
HSL
89°, 19%, 73%
CMYK
7, 0, 14, 22
Luminance
0.5426

Every format

HEX#bac7ac
RGBrgb(186, 199, 172)
HSLhsl(89, 19%, 73%)
CMYKcmyk(7%, 0%, 14%, 22%)
LABlab(78.6 -9.3 12.0)
LCHlch(78.6 15.2 127.8)
OKLCHoklch(0.812 0.040 128.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac7ac on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#bac7ac on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.0%
Blue67.5%

CMYK percentages

Cyan6.5%
Magenta0.0%
Yellow13.6%
Key (black)22.0%

Color previews

#bac7ac text on a black background

contrast 11.85:1

Card sample

#bac7ac text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac7ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac7ac in the Color Lab