Skip to content

#ccc7ba

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

RGB
204, 199, 186
HSL
43°, 15%, 77%
CMYK
0, 3, 9, 20
Luminance
0.5723

Every format

HEX#ccc7ba
RGBrgb(204, 199, 186)
HSLhsl(43, 15%, 77%)
CMYKcmyk(0%, 3%, 9%, 20%)
LABlab(80.3 -0.5 7.1)
LCHlch(80.3 7.1 94.3)
OKLCHoklch(0.830 0.019 89.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ccc7ba text on a black background

contrast 12.45:1

Card sample

#ccc7ba text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7ba in the Color Lab