Skip to content

#dfb64d

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

RGB
223, 182, 77
HSL
43°, 70%, 59%
CMYK
0, 18, 66, 13
Luminance
0.4968

Every format

HEX#dfb64d
RGBrgb(223, 182, 77)
HSLhsl(43, 70%, 59%)
CMYKcmyk(0%, 18%, 66%, 13%)
LABlab(75.9 3.5 57.3)
LCHlch(75.9 57.4 86.5)
OKLCHoklch(0.793 0.130 87.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb64d on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#dfb64d on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green71.4%
Blue30.2%

CMYK percentages

Cyan0.0%
Magenta18.4%
Yellow65.5%
Key (black)12.5%

Color previews

#dfb64d text on a black background

contrast 10.94:1

Card sample

#dfb64d text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb64d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb64d in the Color Lab