Skip to content

#dfbc49

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

RGB
223, 188, 73
HSL
46°, 70%, 58%
CMYK
0, 16, 67, 13
Luminance
0.5214

Every format

HEX#dfbc49
RGBrgb(223, 188, 73)
HSLhsl(46, 70%, 58%)
CMYKcmyk(0%, 16%, 67%, 13%)
LABlab(77.4 0.2 60.6)
LCHlch(77.4 60.6 89.8)
OKLCHoklch(0.805 0.137 91.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfbc49 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#dfbc49 on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green73.7%
Blue28.6%

CMYK percentages

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

Color previews

#dfbc49 text on a black background

contrast 11.43:1

Card sample

#dfbc49 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfbc49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfbc49 in the Color Lab