Skip to content

#dfba5e

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

RGB
223, 186, 94
HSL
43°, 67%, 62%
CMYK
0, 17, 58, 13
Luminance
0.5161

Every format

HEX#dfba5e
RGBrgb(223, 186, 94)
HSLhsl(43, 67%, 62%)
CMYKcmyk(0%, 17%, 58%, 13%)
LABlab(77.0 2.6 50.8)
LCHlch(77.0 50.9 87.1)
OKLCHoklch(0.803 0.119 87.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfba5e on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#dfba5e on black: 11.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.9%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow57.8%
Key (black)12.5%

Color previews

#dfba5e text on a black background

contrast 11.32:1

Card sample

#dfba5e text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba5e in the Color Lab