Skip to content

#ccccaa

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

RGB
204, 204, 170
HSL
60°, 25%, 73%
CMYK
0, 0, 17, 20
Luminance
0.5893

Every format

HEX#ccccaa
RGBrgb(204, 204, 170)
HSLhsl(60, 25%, 73%)
CMYKcmyk(0%, 0%, 17%, 20%)
LABlab(81.3 -5.7 17.0)
LCHlch(81.3 17.9 108.6)
OKLCHoklch(0.836 0.046 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccccaa on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#ccccaa on black: 12.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue66.7%

CMYK percentages

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

Color previews

#ccccaa text on a black background

contrast 12.79:1

Card sample

#ccccaa text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccccaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccaa in the Color Lab