Skip to content

#d2cf92

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

RGB
210, 207, 146
HSL
57°, 42%, 70%
CMYK
0, 1, 31, 18
Luminance
0.6040

Every format

HEX#d2cf92
RGBrgb(210, 207, 146)
HSLhsl(57, 42%, 70%)
CMYKcmyk(0%, 1%, 31%, 18%)
LABlab(82.1 -8.3 30.8)
LCHlch(82.1 31.9 105.2)
OKLCHoklch(0.842 0.080 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cf92 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#d2cf92 on black: 13.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow30.5%
Key (black)17.6%

Color previews

#d2cf92 text on a black background

contrast 13.08:1

Card sample

#d2cf92 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cf92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cf92 in the Color Lab