Skip to content

#cfcbab

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

RGB
207, 203, 171
HSL
53°, 27%, 74%
CMYK
0, 2, 17, 19
Luminance
0.5892

Every format

HEX#cfcbab
RGBrgb(207, 203, 171)
HSLhsl(53, 27%, 74%)
CMYKcmyk(0%, 2%, 17%, 19%)
LABlab(81.3 -3.9 16.5)
LCHlch(81.3 16.9 103.4)
OKLCHoklch(0.837 0.043 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcbab on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cfcbab on black: 12.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green79.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow17.4%
Key (black)18.8%

Color previews

#cfcbab text on a black background

contrast 12.78:1

Card sample

#cfcbab text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcbab in the Color Lab