Skip to content

#d2cf88

a light, vivid yellow · cool · closest name: khaki

RGB
210, 207, 136
HSL
58°, 45%, 68%
CMYK
0, 1, 35, 18
Luminance
0.6010

Every format

HEX#d2cf88
RGBrgb(210, 207, 136)
HSLhsl(58, 45%, 68%)
CMYKcmyk(0%, 1%, 35%, 18%)
LABlab(81.9 -9.6 35.7)
LCHlch(81.9 37.0 105.0)
OKLCHoklch(0.841 0.092 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue53.3%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow35.2%
Key (black)17.6%

Color previews

#d2cf88 text on a black background

contrast 13.02:1

Card sample

#d2cf88 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cf88

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cf88 in the Color Lab