Skip to content

#cfc9af

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

RGB
207, 201, 175
HSL
49°, 25%, 75%
CMYK
0, 3, 16, 19
Luminance
0.5813

Every format

HEX#cfc9af
RGBrgb(207, 201, 175)
HSLhsl(49, 25%, 75%)
CMYKcmyk(0%, 3%, 16%, 19%)
LABlab(80.8 -2.3 13.8)
LCHlch(80.8 13.9 99.4)
OKLCHoklch(0.834 0.036 96.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc9af on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cfc9af on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.8%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow15.5%
Key (black)18.8%

Color previews

#cfc9af text on a black background

contrast 12.63:1

Card sample

#cfc9af text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc9af in the Color Lab