Skip to content

#dfba65

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

RGB
223, 186, 101
HSL
42°, 66%, 64%
CMYK
0, 17, 55, 13
Luminance
0.5175

Every format

HEX#dfba65
RGBrgb(223, 186, 101)
HSLhsl(42, 66%, 64%)
CMYKcmyk(0%, 17%, 55%, 13%)
LABlab(77.1 3.1 47.5)
LCHlch(77.1 47.6 86.2)
OKLCHoklch(0.804 0.113 86.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue39.6%

CMYK percentages

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

Color previews

#dfba65 text on a black background

contrast 11.35:1

Card sample

#dfba65 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba65 in the Color Lab