Skip to content

#dfba61

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

RGB
223, 186, 97
HSL
42°, 66%, 63%
CMYK
0, 17, 57, 13
Luminance
0.5167

Every format

HEX#dfba61
RGBrgb(223, 186, 97)
HSLhsl(42, 66%, 63%)
CMYKcmyk(0%, 17%, 57%, 13%)
LABlab(77.1 2.8 49.4)
LCHlch(77.1 49.5 86.7)
OKLCHoklch(0.803 0.116 87.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow56.5%
Key (black)12.5%

Color previews

#dfba61 text on a black background

contrast 11.33:1

Card sample

#dfba61 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba61

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba61 in the Color Lab