Skip to content

#dfba64

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

RGB
223, 186, 100
HSL
42°, 66%, 63%
CMYK
0, 17, 55, 13
Luminance
0.5173

Every format

HEX#dfba64
RGBrgb(223, 186, 100)
HSLhsl(42, 66%, 63%)
CMYKcmyk(0%, 17%, 55%, 13%)
LABlab(77.1 3.0 48.0)
LCHlch(77.1 48.1 86.4)
OKLCHoklch(0.804 0.113 86.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green72.9%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow55.2%
Key (black)12.5%

Color previews

#dfba64 text on a black background

contrast 11.35:1

Card sample

#dfba64 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba64 in the Color Lab