Skip to content

#dfbf6f

a light, vivid yellow · warm · closest name: khaki

RGB
223, 191, 111
HSL
43°, 64%, 66%
CMYK
0, 14, 50, 13
Luminance
0.5410

Every format

HEX#dfbf6f
RGBrgb(223, 191, 111)
HSLhsl(43, 64%, 66%)
CMYKcmyk(0%, 14%, 50%, 13%)
LABlab(78.5 1.4 44.3)
LCHlch(78.5 44.3 88.3)
OKLCHoklch(0.815 0.106 88.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbf6f on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#dfbf6f on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.9%
Blue43.5%

CMYK percentages

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

Color previews

#dfbf6f text on a black background

contrast 11.82:1

Card sample

#dfbf6f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbf6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbf6f in the Color Lab