Skip to content

#cec8af

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

RGB
206, 200, 175
HSL
48°, 24%, 75%
CMYK
0, 3, 15, 19
Luminance
0.5753

Every format

HEX#cec8af
RGBrgb(206, 200, 175)
HSLhsl(48, 24%, 75%)
CMYKcmyk(0%, 3%, 15%, 19%)
LABlab(80.5 -2.1 13.3)
LCHlch(80.5 13.4 99.1)
OKLCHoklch(0.831 0.035 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec8af on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cec8af on black: 12.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green78.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow15.0%
Key (black)19.2%

Color previews

#cec8af text on a black background

contrast 12.51:1

Card sample

#cec8af text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec8af in the Color Lab