Skip to content

#dfd56d

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

RGB
223, 213, 109
HSL
55°, 64%, 65%
CMYK
0, 5, 51, 13
Luminance
0.6438

Every format

HEX#dfd56d
RGBrgb(223, 213, 109)
HSLhsl(55, 64%, 65%)
CMYKcmyk(0%, 5%, 51%, 13%)
LABlab(84.2 -10.1 52.1)
LCHlch(84.2 53.0 101.0)
OKLCHoklch(0.860 0.127 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd56d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dfd56d on black: 13.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.5%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta4.5%
Yellow51.1%
Key (black)12.5%

Color previews

#dfd56d text on a black background

contrast 13.88:1

Card sample

#dfd56d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd56d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd56d in the Color Lab