Skip to content

#dfdd39

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

RGB
223, 221, 57
HSL
59°, 72%, 55%
CMYK
0, 1, 74, 13
Luminance
0.6770

Every format

HEX#dfdd39
RGBrgb(223, 221, 57)
HSLhsl(59, 72%, 55%)
CMYKcmyk(0%, 1%, 74%, 13%)
LABlab(85.9 -17.3 74.8)
LCHlch(85.9 76.8 103.0)
OKLCHoklch(0.872 0.173 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdd39 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dfdd39 on black: 14.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green86.7%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow74.4%
Key (black)12.5%

Color previews

#dfdd39 text on a black background

contrast 14.54:1

Card sample

#dfdd39 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 221, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 221, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfdd39;
background: linear-gradient(135deg, #dfdd39, #72DF39);

Monochromatic scale

Palettes built from #dfdd39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdd39 in the Color Lab