Skip to content

#dfb80d

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

RGB
223, 184, 13
HSL
49°, 89%, 46%
CMYK
0, 18, 94, 13
Luminance
0.5000

Every format

HEX#dfb80d
RGBrgb(223, 184, 13)
HSLhsl(49, 89%, 46%)
CMYKcmyk(0%, 18%, 94%, 13%)
LABlab(76.1 0.3 76.7)
LCHlch(76.1 76.7 89.7)
OKLCHoklch(0.794 0.161 93.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb80d on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#dfb80d on black: 11.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.2%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta17.5%
Yellow94.2%
Key (black)12.5%

Color previews

#dfb80d text on a black background

contrast 11.00:1

Card sample

#dfb80d text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb80d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb80d in the Color Lab