Skip to content

#dfdf41

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

RGB
223, 223, 65
HSL
60°, 71%, 57%
CMYK
0, 0, 71, 13
Luminance
0.6884

Every format

HEX#dfdf41
RGBrgb(223, 223, 65)
HSLhsl(60, 71%, 57%)
CMYKcmyk(0%, 0%, 71%, 13%)
LABlab(86.4 -17.9 72.8)
LCHlch(86.4 74.9 103.9)
OKLCHoklch(0.877 0.171 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue25.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow70.9%
Key (black)12.5%

Color previews

#dfdf41 text on a black background

contrast 14.77:1

Card sample

#dfdf41 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf41

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf41 in the Color Lab