Skip to content

#dcd1af

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

RGB
220, 209, 175
HSL
45°, 39%, 78%
CMYK
0, 5, 21, 14
Luminance
0.6391

Every format

HEX#dcd1af
RGBrgb(220, 209, 175)
HSLhsl(45, 39%, 78%)
CMYKcmyk(0%, 5%, 21%, 14%)
LABlab(83.9 -1.6 18.3)
LCHlch(83.9 18.3 95.2)
OKLCHoklch(0.861 0.047 92.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd1af on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dcd1af on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green82.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow20.5%
Key (black)13.7%

Color previews

#dcd1af text on a black background

contrast 13.78:1

Card sample

#dcd1af text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 209, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 209, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd1af;
background: linear-gradient(135deg, #dcd1af, #C9DCAF);

Monochromatic scale

Palettes built from #dcd1af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd1af in the Color Lab