Skip to content

#dfdb20

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

RGB
223, 219, 32
HSL
59°, 75%, 50%
CMYK
0, 2, 86, 13
Luminance
0.6646

Every format

HEX#dfdb20
RGBrgb(223, 219, 32)
HSLhsl(59, 75%, 50%)
CMYKcmyk(0%, 2%, 86%, 13%)
LABlab(85.2 -17.1 80.7)
LCHlch(85.2 82.5 102.0)
OKLCHoklch(0.867 0.181 108.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdb20 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#dfdb20 on black: 14.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta1.8%
Yellow85.7%
Key (black)12.5%

Color previews

#dfdb20 text on a black background

contrast 14.29:1

Card sample

#dfdb20 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdb20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdb20 in the Color Lab