Skip to content

#d2cfab

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

RGB
210, 207, 171
HSL
55°, 30%, 75%
CMYK
0, 1, 19, 18
Luminance
0.6127

Every format

HEX#d2cfab
RGBrgb(210, 207, 171)
HSLhsl(55, 30%, 75%)
CMYKcmyk(0%, 1%, 19%, 18%)
LABlab(82.5 -4.9 18.3)
LCHlch(82.5 18.9 105.0)
OKLCHoklch(0.848 0.048 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow18.6%
Key (black)17.6%

Color previews

#d2cfab text on a black background

contrast 13.25:1

Card sample

#d2cfab text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfab in the Color Lab