Skip to content

#dfd86f

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

RGB
223, 216, 111
HSL
56°, 64%, 66%
CMYK
0, 3, 50, 13
Luminance
0.6595

Every format

HEX#dfd86f
RGBrgb(223, 216, 111)
HSLhsl(56, 64%, 66%)
CMYKcmyk(0%, 3%, 50%, 13%)
LABlab(85.0 -11.5 52.1)
LCHlch(85.0 53.3 102.4)
OKLCHoklch(0.867 0.128 105.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd86f on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dfd86f on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green84.7%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow50.2%
Key (black)12.5%

Color previews

#dfd86f text on a black background

contrast 14.19:1

Card sample

#dfd86f text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 216, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 216, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd86f;
background: linear-gradient(135deg, #dfd86f, #9BDF6F);

Monochromatic scale

Palettes built from #dfd86f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd86f in the Color Lab