Skip to content

#dfb458

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

RGB
223, 180, 88
HSL
41°, 68%, 61%
CMYK
0, 19, 61, 13
Luminance
0.4904

Every format

HEX#dfb458
RGBrgb(223, 180, 88)
HSLhsl(41, 68%, 61%)
CMYKcmyk(0%, 19%, 61%, 13%)
LABlab(75.5 5.3 51.9)
LCHlch(75.5 52.1 84.2)
OKLCHoklch(0.791 0.121 84.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green70.6%
Blue34.5%

CMYK percentages

Cyan0.0%
Magenta19.3%
Yellow60.5%
Key (black)12.5%

Color previews

#dfb458 text on a black background

contrast 10.81:1

Card sample

#dfb458 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfb458

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfb458 in the Color Lab