Skip to content

#d4cf9f

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

RGB
212, 207, 159
HSL
54°, 38%, 73%
CMYK
0, 2, 25, 17
Luminance
0.6113

Every format

HEX#d4cf9f
RGBrgb(212, 207, 159)
HSLhsl(54, 38%, 73%)
CMYKcmyk(0%, 2%, 25%, 17%)
LABlab(82.5 -5.9 24.5)
LCHlch(82.5 25.2 103.5)
OKLCHoklch(0.847 0.064 102.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4cf9f on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#d4cf9f on black: 13.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green81.2%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow25.0%
Key (black)16.9%

Color previews

#d4cf9f text on a black background

contrast 13.23:1

Card sample

#d4cf9f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4cf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4cf9f in the Color Lab