Skip to content

#dfba6e

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

RGB
223, 186, 110
HSL
40°, 64%, 65%
CMYK
0, 17, 51, 13
Luminance
0.5193

Every format

HEX#dfba6e
RGBrgb(223, 186, 110)
HSLhsl(40, 64%, 65%)
CMYKcmyk(0%, 17%, 51%, 13%)
LABlab(77.2 3.9 43.2)
LCHlch(77.2 43.4 84.9)
OKLCHoklch(0.805 0.104 84.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfba6e on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#dfba6e on black: 11.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.9%
Blue43.1%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow50.7%
Key (black)12.5%

Color previews

#dfba6e text on a black background

contrast 11.39:1

Card sample

#dfba6e text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba6e in the Color Lab