Skip to content

#ccc8ba

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

RGB
204, 200, 186
HSL
47°, 15%, 77%
CMYK
0, 2, 9, 20
Luminance
0.5769

Every format

HEX#ccc8ba
RGBrgb(204, 200, 186)
HSLhsl(47, 15%, 77%)
CMYKcmyk(0%, 2%, 9%, 20%)
LABlab(80.6 -1.1 7.5)
LCHlch(80.6 7.6 98.1)
OKLCHoklch(0.832 0.020 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ccc8ba text on a black background

contrast 12.54:1

Card sample

#ccc8ba text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc8ba in the Color Lab