Skip to content

#dfb050

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

RGB
223, 176, 80
HSL
40°, 69%, 59%
CMYK
0, 21, 64, 13
Luminance
0.4732

Every format

HEX#dfb050
RGBrgb(223, 176, 80)
HSLhsl(40, 69%, 59%)
CMYKcmyk(0%, 21%, 64%, 13%)
LABlab(74.4 6.9 54.4)
LCHlch(74.4 54.8 82.8)
OKLCHoklch(0.782 0.125 82.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green69.0%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta21.1%
Yellow64.1%
Key (black)12.5%

Color previews

#dfb050 text on a black background

contrast 10.46:1

Card sample

#dfb050 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb050

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb050 in the Color Lab