Skip to content

#dfbf5b

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

RGB
223, 191, 91
HSL
46°, 67%, 62%
CMYK
0, 14, 59, 13
Luminance
0.5370

Every format

HEX#dfbf5b
RGBrgb(223, 191, 91)
HSLhsl(46, 67%, 62%)
CMYKcmyk(0%, 14%, 59%, 13%)
LABlab(78.3 -0.3 53.7)
LCHlch(78.3 53.7 90.3)
OKLCHoklch(0.813 0.124 91.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbf5b on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#dfbf5b on black: 11.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.9%
Blue35.7%

CMYK percentages

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

Color previews

#dfbf5b text on a black background

contrast 11.74:1

Card sample

#dfbf5b text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbf5b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf5b in the Color Lab