Skip to content

#dfd0b2

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

RGB
223, 208, 178
HSL
40°, 41%, 79%
CMYK
0, 7, 20, 13
Luminance
0.6401

Every format

HEX#dfd0b2
RGBrgb(223, 208, 178)
HSLhsl(40, 41%, 79%)
CMYKcmyk(0%, 7%, 20%, 13%)
LABlab(84.0 0.4 16.8)
LCHlch(84.0 16.8 88.6)
OKLCHoklch(0.862 0.043 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd0b2 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dfd0b2 on black: 13.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.6%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow20.2%
Key (black)12.5%

Color previews

#dfd0b2 text on a black background

contrast 13.80:1

Card sample

#dfd0b2 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd0b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd0b2 in the Color Lab