Skip to content

#dfba49

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

RGB
223, 186, 73
HSL
45°, 70%, 58%
CMYK
0, 17, 67, 13
Luminance
0.5129

Every format

HEX#dfba49
RGBrgb(223, 186, 73)
HSLhsl(45, 70%, 58%)
CMYKcmyk(0%, 17%, 67%, 13%)
LABlab(76.8 1.2 60.1)
LCHlch(76.8 60.1 88.8)
OKLCHoklch(0.801 0.136 90.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfba49 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#dfba49 on black: 11.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green72.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta16.6%
Yellow67.3%
Key (black)12.5%

Color previews

#dfba49 text on a black background

contrast 11.26:1

Card sample

#dfba49 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfba49 in the Color Lab