Skip to content

#ccc8c0

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

RGB
204, 200, 192
HSL
40°, 11%, 78%
CMYK
0, 2, 6, 20
Luminance
0.5795

Every format

HEX#ccc8c0
RGBrgb(204, 200, 192)
HSLhsl(40, 11%, 78%)
CMYKcmyk(0%, 2%, 6%, 20%)
LABlab(80.7 -0.0 4.5)
LCHlch(80.7 4.5 90.4)
OKLCHoklch(0.834 0.012 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.4%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow5.9%
Key (black)20.0%

Color previews

#ccc8c0 text on a black background

contrast 12.59:1

Card sample

#ccc8c0 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8c0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc8c0 in the Color Lab