Skip to content

#ccc7aa

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

RGB
204, 199, 170
HSL
51°, 25%, 73%
CMYK
0, 3, 17, 20
Luminance
0.5659

Every format

HEX#ccc7aa
RGBrgb(204, 199, 170)
HSLhsl(51, 25%, 73%)
CMYKcmyk(0%, 3%, 17%, 20%)
LABlab(80.0 -3.1 15.2)
LCHlch(80.0 15.5 101.6)
OKLCHoklch(0.826 0.040 99.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.0%
Blue66.7%

CMYK percentages

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

Color previews

#ccc7aa text on a black background

contrast 12.32:1

Card sample

#ccc7aa text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7aa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7aa in the Color Lab