Skip to content

#dfd1b2

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

RGB
223, 209, 178
HSL
41°, 41%, 79%
CMYK
0, 6, 20, 13
Luminance
0.6450

Every format

HEX#dfd1b2
RGBrgb(223, 209, 178)
HSLhsl(41, 41%, 79%)
CMYKcmyk(0%, 6%, 20%, 13%)
LABlab(84.2 -0.1 17.1)
LCHlch(84.2 17.1 90.3)
OKLCHoklch(0.864 0.044 86.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd1b2 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dfd1b2 on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.0%
Blue69.8%

CMYK percentages

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

Color previews

#dfd1b2 text on a black background

contrast 13.90:1

Card sample

#dfd1b2 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1b2 in the Color Lab