Skip to content

#dfd64d

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

RGB
223, 214, 77
HSL
56°, 70%, 59%
CMYK
0, 4, 66, 13
Luminance
0.6432

Every format

HEX#dfd64d
RGBrgb(223, 214, 77)
HSLhsl(56, 70%, 59%)
CMYKcmyk(0%, 4%, 66%, 13%)
LABlab(84.1 -12.9 66.0)
LCHlch(84.1 67.3 101.0)
OKLCHoklch(0.859 0.154 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green83.9%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow65.5%
Key (black)12.5%

Color previews

#dfd64d text on a black background

contrast 13.86:1

Card sample

#dfd64d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 214, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 214, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfd64d;
background: linear-gradient(135deg, #dfd64d, #87DF4D);

Monochromatic scale

Palettes built from #dfd64d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd64d in the Color Lab