Skip to content

#dfcc8c

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

RGB
223, 204, 140
HSL
46°, 57%, 71%
CMYK
0, 9, 37, 13
Luminance
0.6077

Every format

HEX#dfcc8c
RGBrgb(223, 204, 140)
HSLhsl(46, 57%, 71%)
CMYKcmyk(0%, 9%, 37%, 13%)
LABlab(82.3 -2.5 34.3)
LCHlch(82.3 34.4 94.1)
OKLCHoklch(0.846 0.085 93.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc8c on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc8c on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow37.2%
Key (black)12.5%

Color previews

#dfcc8c text on a black background

contrast 13.15:1

Card sample

#dfcc8c text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc8c in the Color Lab