Skip to content

#cecbab

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

RGB
206, 203, 171
HSL
55°, 26%, 74%
CMYK
0, 2, 17, 19
Luminance
0.5877

Every format

HEX#cecbab
RGBrgb(206, 203, 171)
HSLhsl(55, 26%, 74%)
CMYKcmyk(0%, 2%, 17%, 19%)
LABlab(81.2 -4.3 16.4)
LCHlch(81.2 16.9 104.7)
OKLCHoklch(0.836 0.043 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cecbab on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cecbab on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green79.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow17.0%
Key (black)19.2%

Color previews

#cecbab text on a black background

contrast 12.75:1

Card sample

#cecbab text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cecbab in the Color Lab