Skip to content

#dcd2af

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

RGB
220, 210, 175
HSL
47°, 39%, 78%
CMYK
0, 5, 21, 14
Luminance
0.6440

Every format

HEX#dcd2af
RGBrgb(220, 210, 175)
HSLhsl(47, 39%, 78%)
CMYKcmyk(0%, 5%, 21%, 14%)
LABlab(84.2 -2.2 18.6)
LCHlch(84.2 18.7 96.6)
OKLCHoklch(0.863 0.048 93.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue68.6%

CMYK percentages

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

Color previews

#dcd2af text on a black background

contrast 13.88:1

Card sample

#dcd2af text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2af in the Color Lab