Skip to content

#dfcc86

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

RGB
223, 204, 134
HSL
47°, 58%, 70%
CMYK
0, 9, 40, 13
Luminance
0.6059

Every format

HEX#dfcc86
RGBrgb(223, 204, 134)
HSLhsl(47, 58%, 70%)
CMYKcmyk(0%, 9%, 40%, 13%)
LABlab(82.2 -3.1 37.3)
LCHlch(82.2 37.4 94.8)
OKLCHoklch(0.845 0.092 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green80.0%
Blue52.5%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow39.9%
Key (black)12.5%

Color previews

#dfcc86 text on a black background

contrast 13.12:1

Card sample

#dfcc86 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfcc86

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfcc86 in the Color Lab