Skip to content

#dfb22d

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

RGB
223, 178, 45
HSL
45°, 74%, 53%
CMYK
0, 20, 80, 13
Luminance
0.4772

Every format

HEX#dfb22d
RGBrgb(223, 178, 45)
HSLhsl(45, 74%, 53%)
CMYKcmyk(0%, 20%, 80%, 13%)
LABlab(74.7 4.2 68.4)
LCHlch(74.7 68.6 86.5)
OKLCHoklch(0.783 0.148 88.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb22d on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#dfb22d on black: 10.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta20.2%
Yellow79.8%
Key (black)12.5%

Color previews

#dfb22d text on a black background

contrast 10.54:1

Card sample

#dfb22d text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 178, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 178, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb22d;
background: linear-gradient(135deg, #dfb22d, #95DF2D);

Monochromatic scale

Palettes built from #dfb22d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb22d in the Color Lab