Skip to content

#dfcc89

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

RGB
223, 204, 137
HSL
47°, 57%, 71%
CMYK
0, 9, 39, 13
Luminance
0.6068

Every format

HEX#dfcc89
RGBrgb(223, 204, 137)
HSLhsl(47, 57%, 71%)
CMYKcmyk(0%, 9%, 39%, 13%)
LABlab(82.2 -2.8 35.8)
LCHlch(82.2 35.9 94.5)
OKLCHoklch(0.846 0.088 94.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow38.6%
Key (black)12.5%

Color previews

#dfcc89 text on a black background

contrast 13.14:1

Card sample

#dfcc89 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc89 in the Color Lab