Skip to content

#d0cfac

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

RGB
208, 207, 172
HSL
58°, 28%, 75%
CMYK
0, 1, 17, 18
Luminance
0.6101

Every format

HEX#d0cfac
RGBrgb(208, 207, 172)
HSLhsl(58, 28%, 75%)
CMYKcmyk(0%, 1%, 17%, 18%)
LABlab(82.4 -5.5 17.6)
LCHlch(82.4 18.4 107.4)
OKLCHoklch(0.846 0.047 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0cfac on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#d0cfac on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green81.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow17.3%
Key (black)18.4%

Color previews

#d0cfac text on a black background

contrast 13.20:1

Card sample

#d0cfac text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0cfac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cfac in the Color Lab