Skip to content

#d7ccaf

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

RGB
215, 204, 175
HSL
44°, 33%, 77%
CMYK
0, 5, 19, 16
Luminance
0.6073

Every format

HEX#d7ccaf
RGBrgb(215, 204, 175)
HSLhsl(44, 33%, 77%)
CMYKcmyk(0%, 5%, 19%, 16%)
LABlab(82.2 -0.9 15.8)
LCHlch(82.2 15.9 93.3)
OKLCHoklch(0.847 0.041 89.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7ccaf on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#d7ccaf on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green80.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow18.6%
Key (black)15.7%

Color previews

#d7ccaf text on a black background

contrast 13.15:1

Card sample

#d7ccaf text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 204, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 204, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7ccaf;
background: linear-gradient(135deg, #d7ccaf, #C7D7AF);

Monochromatic scale

Palettes built from #d7ccaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7ccaf in the Color Lab