Skip to content

#cccaaa

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

RGB
204, 202, 170
HSL
57°, 25%, 73%
CMYK
0, 1, 17, 20
Luminance
0.5798

Every format

HEX#cccaaa
RGBrgb(204, 202, 170)
HSLhsl(57, 25%, 73%)
CMYKcmyk(0%, 1%, 17%, 20%)
LABlab(80.7 -4.7 16.3)
LCHlch(80.7 16.9 106.0)
OKLCHoklch(0.832 0.043 104.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccaaa on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cccaaa on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green79.2%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow16.7%
Key (black)20.0%

Color previews

#cccaaa text on a black background

contrast 12.60:1

Card sample

#cccaaa text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccaaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccaaa in the Color Lab