Skip to content

#cec3ac

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

RGB
206, 195, 172
HSL
41°, 26%, 74%
CMYK
0, 5, 17, 19
Luminance
0.5513

Every format

HEX#cec3ac
RGBrgb(206, 195, 172)
HSLhsl(41, 26%, 74%)
CMYKcmyk(0%, 5%, 17%, 19%)
LABlab(79.1 0.0 12.9)
LCHlch(79.1 12.9 89.8)
OKLCHoklch(0.820 0.034 85.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec3ac on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#cec3ac on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.5%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta5.3%
Yellow16.5%
Key (black)19.2%

Color previews

#cec3ac text on a black background

contrast 12.03:1

Card sample

#cec3ac text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3ac in the Color Lab