Skip to content

#dfb349

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

RGB
223, 179, 73
HSL
42°, 70%, 58%
CMYK
0, 20, 67, 13
Luminance
0.4841

Every format

HEX#dfb349
RGBrgb(223, 179, 73)
HSLhsl(42, 70%, 58%)
CMYKcmyk(0%, 20%, 67%, 13%)
LABlab(75.1 4.9 58.2)
LCHlch(75.1 58.4 85.2)
OKLCHoklch(0.787 0.132 86.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb349 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#dfb349 on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.2%
Blue28.6%

CMYK percentages

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

Color previews

#dfb349 text on a black background

contrast 10.68:1

Card sample

#dfb349 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb349

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb349 in the Color Lab