Skip to content

#dfba60

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

RGB
223, 186, 96
HSL
43°, 67%, 63%
CMYK
0, 17, 57, 13
Luminance
0.5165

Every format

HEX#dfba60
RGBrgb(223, 186, 96)
HSLhsl(43, 67%, 63%)
CMYKcmyk(0%, 17%, 57%, 13%)
LABlab(77.1 2.7 49.9)
LCHlch(77.1 50.0 86.9)
OKLCHoklch(0.803 0.117 87.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue37.6%

CMYK percentages

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

Color previews

#dfba60 text on a black background

contrast 11.33:1

Card sample

#dfba60 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba60

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba60 in the Color Lab