Skip to content

#ccc9ba

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

RGB
204, 201, 186
HSL
50°, 15%, 77%
CMYK
0, 2, 9, 20
Luminance
0.5816

Every format

HEX#ccc9ba
RGBrgb(204, 201, 186)
HSLhsl(50, 15%, 77%)
CMYKcmyk(0%, 2%, 9%, 20%)
LABlab(80.8 -1.6 7.9)
LCHlch(80.8 8.0 101.4)
OKLCHoklch(0.834 0.021 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc9ba on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ccc9ba on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.8%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow8.8%
Key (black)20.0%

Color previews

#ccc9ba text on a black background

contrast 12.63:1

Card sample

#ccc9ba text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc9ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc9ba in the Color Lab