Skip to content

#dfdf3a

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

RGB
223, 223, 58
HSL
60°, 72%, 55%
CMYK
0, 0, 74, 13
Luminance
0.6877

Every format

HEX#dfdf3a
RGBrgb(223, 223, 58)
HSLhsl(60, 72%, 55%)
CMYKcmyk(0%, 0%, 74%, 13%)
LABlab(86.4 -18.3 75.0)
LCHlch(86.4 77.2 103.7)
OKLCHoklch(0.876 0.174 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf3a on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf3a on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue22.7%

CMYK percentages

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

Color previews

#dfdf3a text on a black background

contrast 14.75:1

Card sample

#dfdf3a text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf3a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf3a in the Color Lab