Skip to content

#dfcc9f

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

RGB
223, 204, 159
HSL
42°, 50%, 75%
CMYK
0, 9, 29, 13
Luminance
0.6138

Every format

HEX#dfcc9f
RGBrgb(223, 204, 159)
HSLhsl(42, 50%, 75%)
CMYKcmyk(0%, 9%, 29%, 13%)
LABlab(82.6 -0.1 24.9)
LCHlch(82.6 24.9 90.3)
OKLCHoklch(0.850 0.063 87.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfcc9f on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dfcc9f on black: 13.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green80.0%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow28.7%
Key (black)12.5%

Color previews

#dfcc9f text on a black background

contrast 13.28:1

Card sample

#dfcc9f text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc9f in the Color Lab