Skip to content

#cfc8af

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

RGB
207, 200, 175
HSL
47°, 25%, 75%
CMYK
0, 3, 16, 19
Luminance
0.5767

Every format

HEX#cfc8af
RGBrgb(207, 200, 175)
HSLhsl(47, 25%, 75%)
CMYKcmyk(0%, 3%, 16%, 19%)
LABlab(80.5 -1.8 13.4)
LCHlch(80.5 13.5 97.4)
OKLCHoklch(0.832 0.035 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc8af on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cfc8af on black: 12.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta3.4%
Yellow15.5%
Key (black)18.8%

Color previews

#cfc8af text on a black background

contrast 12.53:1

Card sample

#cfc8af text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc8af in the Color Lab