Skip to content

#dfbf0d

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

RGB
223, 191, 13
HSL
51°, 89%, 46%
CMYK
0, 14, 94, 13
Luminance
0.5298

Every format

HEX#dfbf0d
RGBrgb(223, 191, 13)
HSLhsl(51, 89%, 46%)
CMYKcmyk(0%, 14%, 94%, 13%)
LABlab(77.9 -3.3 78.0)
LCHlch(77.9 78.1 92.4)
OKLCHoklch(0.808 0.165 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbf0d on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#dfbf0d on black: 11.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.9%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow94.2%
Key (black)12.5%

Color previews

#dfbf0d text on a black background

contrast 11.60:1

Card sample

#dfbf0d text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbf0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf0d in the Color Lab