Skip to content

#dcd2ab

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

RGB
220, 210, 171
HSL
48°, 41%, 77%
CMYK
0, 5, 22, 14
Luminance
0.6425

Every format

HEX#dcd2ab
RGBrgb(220, 210, 171)
HSLhsl(48, 41%, 77%)
CMYKcmyk(0%, 5%, 22%, 14%)
LABlab(84.1 -2.7 20.6)
LCHlch(84.1 20.8 97.6)
OKLCHoklch(0.862 0.053 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta4.5%
Yellow22.3%
Key (black)13.7%

Color previews

#dcd2ab text on a black background

contrast 13.85:1

Card sample

#dcd2ab text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2ab in the Color Lab