Skip to content

#dfd49d

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

RGB
223, 212, 157
HSL
50°, 51%, 75%
CMYK
0, 5, 30, 13
Luminance
0.6521

Every format

HEX#dfd49d
RGBrgb(223, 212, 157)
HSLhsl(50, 51%, 75%)
CMYKcmyk(0%, 5%, 30%, 13%)
LABlab(84.6 -4.5 28.6)
LCHlch(84.6 29.0 99.0)
OKLCHoklch(0.866 0.073 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd49d on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfd49d on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue61.6%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow29.6%
Key (black)12.5%

Color previews

#dfd49d text on a black background

contrast 14.04:1

Card sample

#dfd49d text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd49d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd49d in the Color Lab