Skip to content

#d4cfab

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

RGB
212, 207, 171
HSL
53°, 32%, 75%
CMYK
0, 2, 19, 17
Luminance
0.6156

Every format

HEX#d4cfab
RGBrgb(212, 207, 171)
HSLhsl(53, 32%, 75%)
CMYKcmyk(0%, 2%, 19%, 17%)
LABlab(82.7 -4.2 18.6)
LCHlch(82.7 19.0 102.6)
OKLCHoklch(0.849 0.048 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4cfab on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#d4cfab on black: 13.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green81.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow19.3%
Key (black)16.9%

Color previews

#d4cfab text on a black background

contrast 13.31:1

Card sample

#d4cfab text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4cfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4cfab in the Color Lab