Skip to content

#bab7ac

a light, muted yellow · cool · closest name: silver

RGB
186, 183, 172
HSL
47°, 9%, 70%
CMYK
0, 2, 8, 27
Luminance
0.4728

Every format

HEX#bab7ac
RGBrgb(186, 183, 172)
HSLhsl(47, 9%, 70%)
CMYKcmyk(0%, 2%, 8%, 27%)
LABlab(74.4 -0.9 6.0)
LCHlch(74.4 6.0 98.7)
OKLCHoklch(0.779 0.016 94.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab7ac on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#bab7ac on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green71.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow7.5%
Key (black)27.1%

Color previews

#bab7ac text on a black background

contrast 10.46:1

Card sample

#bab7ac text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab7ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab7ac in the Color Lab