Skip to content

#ccccac

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

RGB
204, 204, 172
HSL
60°, 24%, 74%
CMYK
0, 0, 16, 20
Luminance
0.5900

Every format

HEX#ccccac
RGBrgb(204, 204, 172)
HSLhsl(60, 24%, 74%)
CMYKcmyk(0%, 0%, 16%, 20%)
LABlab(81.3 -5.4 16.0)
LCHlch(81.3 16.9 108.7)
OKLCHoklch(0.837 0.043 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green80.0%
Blue67.5%

CMYK percentages

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

Color previews

#ccccac text on a black background

contrast 12.80:1

Card sample

#ccccac text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccccac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccac in the Color Lab