Skip to content

#dfdc17

a balanced, electric yellow · cool · closest name: gold

RGB
223, 220, 23
HSL
59°, 81%, 48%
CMYK
0, 1, 90, 13
Luminance
0.6694

Every format

HEX#dfdc17
RGBrgb(223, 220, 23)
HSLhsl(59, 81%, 48%)
CMYKcmyk(0%, 1%, 90%, 13%)
LABlab(85.5 -17.8 82.5)
LCHlch(85.5 84.3 102.2)
OKLCHoklch(0.869 0.185 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdc17 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#dfdc17 on black: 14.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.3%
Blue9.0%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow89.7%
Key (black)12.5%

Color previews

#dfdc17 text on a black background

contrast 14.39:1

Card sample

#dfdc17 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 220, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 220, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdc17;
background: linear-gradient(135deg, #dfdc17, #5DDF17);

Monochromatic scale

Palettes built from #dfdc17

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdc17 in the Color Lab