Skip to content

#d2cead

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

RGB
210, 206, 173
HSL
54°, 29%, 75%
CMYK
0, 2, 18, 18
Luminance
0.6086

Every format

HEX#d2cead
RGBrgb(210, 206, 173)
HSLhsl(54, 29%, 75%)
CMYKcmyk(0%, 2%, 18%, 18%)
LABlab(82.3 -4.1 16.9)
LCHlch(82.3 17.4 103.5)
OKLCHoklch(0.846 0.044 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cead on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#d2cead on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.8%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow17.6%
Key (black)17.6%

Color previews

#d2cead text on a black background

contrast 13.17:1

Card sample

#d2cead text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cead

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cead in the Color Lab