Skip to content

#ccc7ab

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

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

Every format

HEX#ccc7ab
RGBrgb(204, 199, 171)
HSLhsl(51, 24%, 74%)
CMYKcmyk(0%, 3%, 16%, 20%)
LABlab(80.0 -3.0 14.7)
LCHlch(80.0 14.9 101.4)
OKLCHoklch(0.826 0.038 98.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.0%
Blue67.1%

CMYK percentages

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

Color previews

#ccc7ab text on a black background

contrast 12.32:1

Card sample

#ccc7ab text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7ab in the Color Lab