Skip to content

#dfd2ac

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

RGB
223, 210, 172
HSL
45°, 44%, 78%
CMYK
0, 6, 23, 13
Luminance
0.6476

Every format

HEX#dfd2ac
RGBrgb(223, 210, 172)
HSLhsl(45, 44%, 78%)
CMYKcmyk(0%, 6%, 23%, 13%)
LABlab(84.4 -1.5 20.5)
LCHlch(84.4 20.5 94.1)
OKLCHoklch(0.865 0.052 91.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd2ac on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dfd2ac on black: 13.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta5.8%
Yellow22.9%
Key (black)12.5%

Color previews

#dfd2ac text on a black background

contrast 13.95:1

Card sample

#dfd2ac text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd2ac in the Color Lab