Skip to content

#dfb049

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

RGB
223, 176, 73
HSL
41°, 70%, 58%
CMYK
0, 21, 67, 13
Luminance
0.4722

Every format

HEX#dfb049
RGBrgb(223, 176, 73)
HSLhsl(41, 70%, 58%)
CMYKcmyk(0%, 21%, 67%, 13%)
LABlab(74.3 6.5 57.4)
LCHlch(74.3 57.8 83.6)
OKLCHoklch(0.781 0.131 84.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb049 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#dfb049 on black: 10.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green69.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow67.3%
Key (black)12.5%

Color previews

#dfb049 text on a black background

contrast 10.44:1

Card sample

#dfb049 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb049 in the Color Lab