Skip to content

#d7cfac

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

RGB
215, 207, 172
HSL
49°, 35%, 76%
CMYK
0, 4, 20, 16
Luminance
0.6205

Every format

HEX#d7cfac
RGBrgb(215, 207, 172)
HSLhsl(49, 35%, 76%)
CMYKcmyk(0%, 4%, 20%, 16%)
LABlab(82.9 -2.9 18.4)
LCHlch(82.9 18.6 98.9)
OKLCHoklch(0.852 0.048 96.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7cfac on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#d7cfac on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green81.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta3.7%
Yellow20.0%
Key (black)15.7%

Color previews

#d7cfac text on a black background

contrast 13.41:1

Card sample

#d7cfac text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cfac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7cfac in the Color Lab