Skip to content

#ccc7b8

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

RGB
204, 199, 184
HSL
45°, 16%, 76%
CMYK
0, 3, 10, 20
Luminance
0.5714

Every format

HEX#ccc7b8
RGBrgb(204, 199, 184)
HSLhsl(45, 16%, 76%)
CMYKcmyk(0%, 3%, 10%, 20%)
LABlab(80.3 -0.9 8.1)
LCHlch(80.3 8.2 96.0)
OKLCHoklch(0.830 0.021 91.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7b8 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7b8 on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.0%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow9.8%
Key (black)20.0%

Color previews

#ccc7b8 text on a black background

contrast 12.43:1

Card sample

#ccc7b8 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7b8 in the Color Lab