Skip to content

#dfb92f

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

RGB
223, 185, 47
HSL
47°, 73%, 53%
CMYK
0, 17, 79, 13
Luminance
0.5059

Every format

HEX#dfb92f
RGBrgb(223, 185, 47)
HSLhsl(47, 73%, 53%)
CMYKcmyk(0%, 17%, 79%, 13%)
LABlab(76.4 0.6 69.4)
LCHlch(76.4 69.4 89.5)
OKLCHoklch(0.797 0.150 92.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow78.9%
Key (black)12.5%

Color previews

#dfb92f text on a black background

contrast 11.12:1

Card sample

#dfb92f text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb92f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb92f in the Color Lab