Skip to content

#d0ccaf

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

RGB
208, 204, 175
HSL
53°, 26%, 75%
CMYK
0, 2, 16, 18
Luminance
0.5969

Every format

HEX#d0ccaf
RGBrgb(208, 204, 175)
HSLhsl(53, 26%, 75%)
CMYKcmyk(0%, 2%, 16%, 18%)
LABlab(81.7 -3.5 15.0)
LCHlch(81.7 15.4 103.1)
OKLCHoklch(0.841 0.039 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0ccaf on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#d0ccaf on black: 12.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green80.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow15.9%
Key (black)18.4%

Color previews

#d0ccaf text on a black background

contrast 12.94:1

Card sample

#d0ccaf text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0ccaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0ccaf in the Color Lab