Skip to content

#d7ceaf

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

RGB
215, 206, 175
HSL
47°, 33%, 77%
CMYK
0, 4, 19, 16
Luminance
0.6168

Every format

HEX#d7ceaf
RGBrgb(215, 206, 175)
HSLhsl(47, 33%, 77%)
CMYKcmyk(0%, 4%, 19%, 16%)
LABlab(82.8 -1.9 16.6)
LCHlch(82.8 16.7 96.7)
OKLCHoklch(0.851 0.043 93.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7ceaf on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#d7ceaf on black: 13.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green80.8%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta4.2%
Yellow18.6%
Key (black)15.7%

Color previews

#d7ceaf text on a black background

contrast 13.34:1

Card sample

#d7ceaf text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7ceaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7ceaf in the Color Lab