Skip to content

#dfbf0f

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

RGB
223, 191, 15
HSL
51°, 87%, 47%
CMYK
0, 14, 93, 13
Luminance
0.5298

Every format

HEX#dfbf0f
RGBrgb(223, 191, 15)
HSLhsl(51, 87%, 47%)
CMYKcmyk(0%, 14%, 93%, 13%)
LABlab(77.9 -3.3 77.8)
LCHlch(77.9 77.8 92.4)
OKLCHoklch(0.808 0.164 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow93.3%
Key (black)12.5%

Color previews

#dfbf0f text on a black background

contrast 11.60:1

Card sample

#dfbf0f text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf0f in the Color Lab