Skip to content

#d3cfab

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

RGB
211, 207, 171
HSL
54°, 31%, 75%
CMYK
0, 2, 19, 17
Luminance
0.6141

Every format

HEX#d3cfab
RGBrgb(211, 207, 171)
HSLhsl(54, 31%, 75%)
CMYKcmyk(0%, 2%, 19%, 17%)
LABlab(82.6 -4.5 18.4)
LCHlch(82.6 19.0 103.8)
OKLCHoklch(0.848 0.048 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.7%
Green81.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow19.0%
Key (black)17.3%

Color previews

#d3cfab text on a black background

contrast 13.28:1

Card sample

#d3cfab text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3cfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3cfab in the Color Lab