Skip to content

#df982f

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

RGB
223, 152, 47
HSL
36°, 73%, 53%
CMYK
0, 32, 79, 13
Luminance
0.3835

Every format

HEX#df982f
RGBrgb(223, 152, 47)
HSLhsl(36, 73%, 53%)
CMYKcmyk(0%, 32%, 79%, 13%)
LABlab(68.3 18.1 62.0)
LCHlch(68.3 64.6 73.7)
OKLCHoklch(0.733 0.141 71.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df982f on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#df982f on black: 8.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green59.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta31.8%
Yellow78.9%
Key (black)12.5%

Color previews

#df982f text on a black background

contrast 8.67:1

Card sample

#df982f text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df982f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df982f in the Color Lab