Skip to content

#d7cfab

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

RGB
215, 207, 171
HSL
49°, 36%, 76%
CMYK
0, 4, 21, 16
Luminance
0.6201

Every format

HEX#d7cfab
RGBrgb(215, 207, 171)
HSLhsl(49, 36%, 76%)
CMYKcmyk(0%, 4%, 21%, 16%)
LABlab(82.9 -3.0 18.9)
LCHlch(82.9 19.2 99.2)
OKLCHoklch(0.852 0.049 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green81.2%
Blue67.1%

CMYK percentages

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

Color previews

#d7cfab text on a black background

contrast 13.40:1

Card sample

#d7cfab text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7cfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7cfab in the Color Lab