Skip to content

#cec7af

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

RGB
206, 199, 175
HSL
47°, 24%, 75%
CMYK
0, 3, 15, 19
Luminance
0.5706

Every format

HEX#cec7af
RGBrgb(206, 199, 175)
HSLhsl(47, 24%, 75%)
CMYKcmyk(0%, 3%, 15%, 19%)
LABlab(80.2 -1.6 12.9)
LCHlch(80.2 13.0 97.1)
OKLCHoklch(0.829 0.034 93.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green78.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow15.0%
Key (black)19.2%

Color previews

#cec7af text on a black background

contrast 12.41:1

Card sample

#cec7af text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec7af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec7af in the Color Lab