Skip to content

#cfc9ac

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

RGB
207, 201, 172
HSL
50°, 27%, 74%
CMYK
0, 3, 17, 19
Luminance
0.5802

Every format

HEX#cfc9ac
RGBrgb(207, 201, 172)
HSLhsl(50, 27%, 74%)
CMYKcmyk(0%, 3%, 17%, 19%)
LABlab(80.8 -2.7 15.3)
LCHlch(80.8 15.5 100.2)
OKLCHoklch(0.833 0.040 97.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc9ac on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cfc9ac on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow16.9%
Key (black)18.8%

Color previews

#cfc9ac text on a black background

contrast 12.60:1

Card sample

#cfc9ac text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc9ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc9ac in the Color Lab