Skip to content

#d2cf9c

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

RGB
210, 207, 156
HSL
57°, 38%, 72%
CMYK
0, 1, 26, 18
Luminance
0.6073

Every format

HEX#d2cf9c
RGBrgb(210, 207, 156)
HSLhsl(57, 38%, 72%)
CMYKcmyk(0%, 1%, 26%, 18%)
LABlab(82.2 -7.0 25.8)
LCHlch(82.2 26.7 105.2)
OKLCHoklch(0.844 0.067 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cf9c on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#d2cf9c on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow25.7%
Key (black)17.6%

Color previews

#d2cf9c text on a black background

contrast 13.15:1

Card sample

#d2cf9c text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cf9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cf9c in the Color Lab