Skip to content

#dfd064

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

RGB
223, 208, 100
HSL
53°, 66%, 63%
CMYK
0, 7, 55, 13
Luminance
0.6172

Every format

HEX#dfd064
RGBrgb(223, 208, 100)
HSLhsl(53, 66%, 63%)
CMYKcmyk(0%, 7%, 55%, 13%)
LABlab(82.8 -8.3 54.6)
LCHlch(82.8 55.3 98.7)
OKLCHoklch(0.849 0.130 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd064 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dfd064 on black: 13.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green81.6%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow55.2%
Key (black)12.5%

Color previews

#dfd064 text on a black background

contrast 13.34:1

Card sample

#dfd064 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd064

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd064 in the Color Lab