Skip to content

#ccc9ac

a light, soft yellow · cool · closest name: tan

RGB
204, 201, 172
HSL
54°, 24%, 74%
CMYK
0, 2, 16, 20
Luminance
0.5759

Every format

HEX#ccc9ac
RGBrgb(204, 201, 172)
HSLhsl(54, 24%, 74%)
CMYKcmyk(0%, 2%, 16%, 20%)
LABlab(80.5 -3.8 14.9)
LCHlch(80.5 15.4 104.5)
OKLCHoklch(0.831 0.039 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9ac on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9ac on black: 12.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow15.7%
Key (black)20.0%

Color previews

#ccc9ac text on a black background

contrast 12.52:1

Card sample

#ccc9ac text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9ac in the Color Lab