Skip to content

#d9d2ac

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

RGB
217, 210, 172
HSL
51°, 37%, 76%
CMYK
0, 3, 21, 15
Luminance
0.6382

Every format

HEX#d9d2ac
RGBrgb(217, 210, 172)
HSLhsl(51, 37%, 76%)
CMYKcmyk(0%, 3%, 21%, 15%)
LABlab(83.9 -3.7 19.7)
LCHlch(83.9 20.1 100.6)
OKLCHoklch(0.860 0.051 98.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9d2ac on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d9d2ac on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green82.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta3.2%
Yellow20.7%
Key (black)14.9%

Color previews

#d9d2ac text on a black background

contrast 13.76:1

Card sample

#d9d2ac text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9d2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9d2ac in the Color Lab