Skip to content

#cac7ba

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

RGB
202, 199, 186
HSL
49°, 13%, 76%
CMYK
0, 2, 8, 21
Luminance
0.5695

Every format

HEX#cac7ba
RGBrgb(202, 199, 186)
HSLhsl(49, 13%, 76%)
CMYKcmyk(0%, 2%, 8%, 21%)
LABlab(80.2 -1.2 6.9)
LCHlch(80.2 7.0 100.2)
OKLCHoklch(0.829 0.018 96.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.2%
Green78.0%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow7.9%
Key (black)20.8%

Color previews

#cac7ba text on a black background

contrast 12.39:1

Card sample

#cac7ba text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac7ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac7ba in the Color Lab