Skip to content

#dfb82f

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

RGB
223, 184, 47
HSL
47°, 73%, 53%
CMYK
0, 18, 79, 13
Luminance
0.5017

Every format

HEX#dfb82f
RGBrgb(223, 184, 47)
HSLhsl(47, 73%, 53%)
CMYKcmyk(0%, 18%, 79%, 13%)
LABlab(76.2 1.1 69.2)
LCHlch(76.2 69.2 89.1)
OKLCHoklch(0.795 0.150 91.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb82f on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#dfb82f on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#dfb82f text on a black background

contrast 11.03:1

Card sample

#dfb82f text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb82f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb82f in the Color Lab