Skip to content

#d7ceab

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

RGB
215, 206, 171
HSL
48°, 36%, 76%
CMYK
0, 4, 21, 16
Luminance
0.6153

Every format

HEX#d7ceab
RGBrgb(215, 206, 171)
HSLhsl(48, 36%, 76%)
CMYKcmyk(0%, 4%, 21%, 16%)
LABlab(82.7 -2.5 18.6)
LCHlch(82.7 18.7 97.8)
OKLCHoklch(0.850 0.048 95.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green80.8%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta4.2%
Yellow20.5%
Key (black)15.7%

Color previews

#d7ceab text on a black background

contrast 13.31:1

Card sample

#d7ceab text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7ceab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7ceab in the Color Lab