Skip to content

#ccc7ac

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

RGB
204, 199, 172
HSL
51°, 24%, 74%
CMYK
0, 3, 16, 20
Luminance
0.5666

Every format

HEX#ccc7ac
RGBrgb(204, 199, 172)
HSLhsl(51, 24%, 74%)
CMYKcmyk(0%, 3%, 16%, 20%)
LABlab(80.0 -2.8 14.2)
LCHlch(80.0 14.4 101.2)
OKLCHoklch(0.827 0.037 98.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7ac on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7ac on black: 12.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ccc7ac text on a black background

contrast 12.33:1

Card sample

#ccc7ac text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7ac in the Color Lab