Skip to content

#ccc9ab

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

RGB
204, 201, 171
HSL
55°, 24%, 74%
CMYK
0, 2, 16, 20
Luminance
0.5755

Every format

HEX#ccc9ab
RGBrgb(204, 201, 171)
HSLhsl(55, 24%, 74%)
CMYKcmyk(0%, 2%, 16%, 20%)
LABlab(80.5 -4.0 15.4)
LCHlch(80.5 15.9 104.6)
OKLCHoklch(0.830 0.041 102.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ccc9ab text on a black background

contrast 12.51:1

Card sample

#ccc9ab text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9ab in the Color Lab