Skip to content

#d2cdab

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

RGB
210, 205, 171
HSL
52°, 30%, 75%
CMYK
0, 2, 19, 18
Luminance
0.6030

Every format

HEX#d2cdab
RGBrgb(210, 205, 171)
HSLhsl(52, 30%, 75%)
CMYKcmyk(0%, 2%, 19%, 18%)
LABlab(82.0 -3.9 17.6)
LCHlch(82.0 18.0 102.4)
OKLCHoklch(0.844 0.046 100.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cdab on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#d2cdab on black: 13.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.4%
Blue67.1%

CMYK percentages

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

Color previews

#d2cdab text on a black background

contrast 13.06:1

Card sample

#d2cdab text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cdab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cdab in the Color Lab