Skip to content

#dfdf3e

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

RGB
223, 223, 62
HSL
60°, 72%, 56%
CMYK
0, 0, 72, 13
Luminance
0.6881

Every format

HEX#dfdf3e
RGBrgb(223, 223, 62)
HSLhsl(60, 72%, 56%)
CMYKcmyk(0%, 0%, 72%, 13%)
LABlab(86.4 -18.1 73.7)
LCHlch(86.4 75.9 103.8)
OKLCHoklch(0.877 0.172 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue24.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow72.2%
Key (black)12.5%

Color previews

#dfdf3e text on a black background

contrast 14.76:1

Card sample

#dfdf3e text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf3e in the Color Lab