Skip to content

#ccc2ac

a light, soft yellow · warm · closest name: silver

RGB
204, 194, 172
HSL
41°, 24%, 74%
CMYK
0, 5, 16, 20
Luminance
0.5440

Every format

HEX#ccc2ac
RGBrgb(204, 194, 172)
HSLhsl(41, 24%, 74%)
CMYKcmyk(0%, 5%, 16%, 20%)
LABlab(78.7 -0.2 12.3)
LCHlch(78.7 12.3 90.8)
OKLCHoklch(0.816 0.032 86.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc2ac on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2ac on black: 11.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.1%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow15.7%
Key (black)20.0%

Color previews

#ccc2ac text on a black background

contrast 11.88:1

Card sample

#ccc2ac text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2ac in the Color Lab