Skip to content

#dfab4b

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

RGB
223, 171, 75
HSL
39°, 70%, 58%
CMYK
0, 23, 66, 13
Luminance
0.4532

Every format

HEX#dfab4b
RGBrgb(223, 171, 75)
HSLhsl(39, 70%, 58%)
CMYKcmyk(0%, 23%, 66%, 13%)
LABlab(73.1 9.3 55.2)
LCHlch(73.1 56.0 80.5)
OKLCHoklch(0.772 0.127 80.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfab4b on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#dfab4b on black: 10.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green67.1%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta23.3%
Yellow66.4%
Key (black)12.5%

Color previews

#dfab4b text on a black background

contrast 10.06:1

Card sample

#dfab4b text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfab4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfab4b in the Color Lab