Skip to content

#dfb32b

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

RGB
223, 179, 43
HSL
45°, 74%, 52%
CMYK
0, 20, 81, 13
Luminance
0.4810

Every format

HEX#dfb32b
RGBrgb(223, 179, 43)
HSLhsl(45, 74%, 52%)
CMYKcmyk(0%, 20%, 81%, 13%)
LABlab(74.9 3.6 69.3)
LCHlch(74.9 69.4 87.0)
OKLCHoklch(0.785 0.149 89.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb32b on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#dfb32b on black: 10.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta19.7%
Yellow80.7%
Key (black)12.5%

Color previews

#dfb32b text on a black background

contrast 10.62:1

Card sample

#dfb32b text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 179, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 179, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb32b;
background: linear-gradient(135deg, #dfb32b, #93DF2B);

Monochromatic scale

Palettes built from #dfb32b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb32b in the Color Lab