Skip to content

#dfb45c

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

RGB
223, 180, 92
HSL
40°, 67%, 62%
CMYK
0, 19, 59, 13
Luminance
0.4910

Every format

HEX#dfb45c
RGBrgb(223, 180, 92)
HSLhsl(40, 67%, 62%)
CMYKcmyk(0%, 19%, 59%, 13%)
LABlab(75.5 5.6 50.0)
LCHlch(75.5 50.3 83.6)
OKLCHoklch(0.791 0.117 83.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfb45c on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#dfb45c on black: 10.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green70.6%
Blue36.1%

CMYK percentages

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

Color previews

#dfb45c text on a black background

contrast 10.82:1

Card sample

#dfb45c text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb45c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb45c in the Color Lab