Skip to content

#dfb72c

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

RGB
223, 183, 44
HSL
47°, 74%, 52%
CMYK
0, 18, 80, 13
Luminance
0.4974

Every format

HEX#dfb72c
RGBrgb(223, 183, 44)
HSLhsl(47, 74%, 52%)
CMYKcmyk(0%, 18%, 80%, 13%)
LABlab(75.9 1.5 69.9)
LCHlch(75.9 69.9 88.8)
OKLCHoklch(0.793 0.151 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb72c on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#dfb72c on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.8%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta17.9%
Yellow80.3%
Key (black)12.5%

Color previews

#dfb72c text on a black background

contrast 10.95:1

Card sample

#dfb72c text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 183, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 183, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfb72c;
background: linear-gradient(135deg, #dfb72c, #90DF2C);

Monochromatic scale

Palettes built from #dfb72c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb72c in the Color Lab