Skip to content

#d4cfac

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

RGB
212, 207, 172
HSL
53°, 32%, 75%
CMYK
0, 2, 19, 17
Luminance
0.6160

Every format

HEX#d4cfac
RGBrgb(212, 207, 172)
HSLhsl(53, 32%, 75%)
CMYKcmyk(0%, 2%, 19%, 17%)
LABlab(82.7 -4.0 18.1)
LCHlch(82.7 18.5 102.5)
OKLCHoklch(0.850 0.047 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4cfac on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#d4cfac on black: 13.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green81.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow18.9%
Key (black)16.9%

Color previews

#d4cfac text on a black background

contrast 13.32:1

Card sample

#d4cfac text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4cfac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4cfac in the Color Lab