Skip to content

#d2cd9f

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

RGB
210, 205, 159
HSL
54°, 36%, 72%
CMYK
0, 2, 24, 18
Luminance
0.5987

Every format

HEX#d2cd9f
RGBrgb(210, 205, 159)
HSLhsl(54, 36%, 72%)
CMYKcmyk(0%, 2%, 24%, 18%)
LABlab(81.8 -5.6 23.6)
LCHlch(81.8 24.2 103.3)
OKLCHoklch(0.841 0.061 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cd9f on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#d2cd9f on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.4%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow24.3%
Key (black)17.6%

Color previews

#d2cd9f text on a black background

contrast 12.97:1

Card sample

#d2cd9f text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cd9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cd9f in the Color Lab