Skip to content

#dfbf4b

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

RGB
223, 191, 75
HSL
47°, 70%, 58%
CMYK
0, 14, 66, 13
Luminance
0.5346

Every format

HEX#dfbf4b
RGBrgb(223, 191, 75)
HSLhsl(47, 70%, 58%)
CMYKcmyk(0%, 14%, 66%, 13%)
LABlab(78.2 -1.3 60.6)
LCHlch(78.2 60.6 91.2)
OKLCHoklch(0.811 0.137 93.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbf4b on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#dfbf4b on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.9%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta14.3%
Yellow66.4%
Key (black)12.5%

Color previews

#dfbf4b text on a black background

contrast 11.69:1

Card sample

#dfbf4b text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbf4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf4b in the Color Lab