Skip to content

#dfdc47

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

RGB
223, 220, 71
HSL
59°, 70%, 58%
CMYK
0, 1, 68, 13
Luminance
0.6733

Every format

HEX#dfdc47
RGBrgb(223, 220, 71)
HSLhsl(59, 70%, 58%)
CMYKcmyk(0%, 1%, 68%, 13%)
LABlab(85.7 -16.2 69.9)
LCHlch(85.7 71.7 103.0)
OKLCHoklch(0.871 0.164 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdc47 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dfdc47 on black: 14.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.3%
Blue27.8%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow68.2%
Key (black)12.5%

Color previews

#dfdc47 text on a black background

contrast 14.47:1

Card sample

#dfdc47 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdc47

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdc47 in the Color Lab