Skip to content

#dfa921

a balanced, vivid yellow · warm · closest name: orange

RGB
223, 169, 33
HSL
43°, 75%, 50%
CMYK
0, 24, 85, 13
Luminance
0.4417

Every format

HEX#dfa921
RGBrgb(223, 169, 33)
HSLhsl(43, 75%, 50%)
CMYKcmyk(0%, 24%, 85%, 13%)
LABlab(72.3 8.6 70.0)
LCHlch(72.3 70.5 83.0)
OKLCHoklch(0.765 0.149 84.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfa921 on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#dfa921 on black: 9.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green66.3%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta24.2%
Yellow85.2%
Key (black)12.5%

Color previews

#dfa921 text on a black background

contrast 9.83:1

Card sample

#dfa921 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 169, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 169, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfa921;
background: linear-gradient(135deg, #dfa921, #96DF21);

Monochromatic scale

Palettes built from #dfa921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfa921 in the Color Lab