Skip to content

#dfba68

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

RGB
223, 186, 104
HSL
41°, 65%, 64%
CMYK
0, 17, 53, 13
Luminance
0.5181

Every format

HEX#dfba68
RGBrgb(223, 186, 104)
HSLhsl(41, 65%, 64%)
CMYKcmyk(0%, 17%, 53%, 13%)
LABlab(77.2 3.4 46.1)
LCHlch(77.2 46.2 85.8)
OKLCHoklch(0.804 0.110 85.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow53.4%
Key (black)12.5%

Color previews

#dfba68 text on a black background

contrast 11.36:1

Card sample

#dfba68 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba68 in the Color Lab