Skip to content

#cec3ab

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

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

Every format

HEX#cec3ab
RGBrgb(206, 195, 171)
HSLhsl(41, 26%, 74%)
CMYKcmyk(0%, 5%, 17%, 19%)
LABlab(79.1 -0.1 13.4)
LCHlch(79.1 13.4 90.5)
OKLCHoklch(0.820 0.035 86.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta5.3%
Yellow17.0%
Key (black)19.2%

Color previews

#cec3ab text on a black background

contrast 12.02:1

Card sample

#cec3ab text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3ab in the Color Lab