Skip to content

#dfb939

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

RGB
223, 185, 57
HSL
46°, 72%, 55%
CMYK
0, 17, 74, 13
Luminance
0.5068

Every format

HEX#dfb939
RGBrgb(223, 185, 57)
HSLhsl(46, 72%, 55%)
CMYKcmyk(0%, 17%, 74%, 13%)
LABlab(76.5 1.0 66.0)
LCHlch(76.5 66.0 89.2)
OKLCHoklch(0.798 0.145 91.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb939 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#dfb939 on black: 11.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow74.4%
Key (black)12.5%

Color previews

#dfb939 text on a black background

contrast 11.14:1

Card sample

#dfb939 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb939

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb939 in the Color Lab