Skip to content

#d2cf9f

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

RGB
210, 207, 159
HSL
57°, 36%, 72%
CMYK
0, 1, 24, 18
Luminance
0.6083

Every format

HEX#d2cf9f
RGBrgb(210, 207, 159)
HSLhsl(57, 36%, 72%)
CMYKcmyk(0%, 1%, 24%, 18%)
LABlab(82.3 -6.6 24.3)
LCHlch(82.3 25.2 105.2)
OKLCHoklch(0.845 0.064 104.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue62.4%

CMYK percentages

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

Color previews

#d2cf9f text on a black background

contrast 13.17:1

Card sample

#d2cf9f text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cf9f in the Color Lab