Skip to content

#dfbd49

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

RGB
223, 189, 73
HSL
46°, 70%, 58%
CMYK
0, 15, 67, 13
Luminance
0.5256

Every format

HEX#dfbd49
RGBrgb(223, 189, 73)
HSLhsl(46, 70%, 58%)
CMYKcmyk(0%, 15%, 67%, 13%)
LABlab(77.6 -0.3 60.9)
LCHlch(77.6 60.9 90.3)
OKLCHoklch(0.807 0.137 92.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbd49 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#dfbd49 on black: 11.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green74.1%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta15.2%
Yellow67.3%
Key (black)12.5%

Color previews

#dfbd49 text on a black background

contrast 11.51:1

Card sample

#dfbd49 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbd49 in the Color Lab