Skip to content

#dfda20

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

RGB
223, 218, 32
HSL
58°, 75%, 50%
CMYK
0, 2, 86, 13
Luminance
0.6594

Every format

HEX#dfda20
RGBrgb(223, 218, 32)
HSLhsl(58, 75%, 50%)
CMYKcmyk(0%, 2%, 86%, 13%)
LABlab(85.0 -16.6 80.5)
LCHlch(85.0 82.2 101.7)
OKLCHoklch(0.865 0.181 107.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfda20 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#dfda20 on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green85.5%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow85.7%
Key (black)12.5%

Color previews

#dfda20 text on a black background

contrast 14.19:1

Card sample

#dfda20 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 218, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 218, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfda20;
background: linear-gradient(135deg, #dfda20, #65DF20);

Monochromatic scale

Palettes built from #dfda20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfda20 in the Color Lab