Skip to content

#df9c2f

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

RGB
223, 156, 47
HSL
37°, 73%, 53%
CMYK
0, 30, 79, 13
Luminance
0.3967

Every format

HEX#df9c2f
RGBrgb(223, 156, 47)
HSLhsl(37, 73%, 53%)
CMYKcmyk(0%, 30%, 79%, 13%)
LABlab(69.2 15.9 62.9)
LCHlch(69.2 64.9 75.8)
OKLCHoklch(0.741 0.141 74.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9c2f on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#df9c2f on black: 8.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta30.0%
Yellow78.9%
Key (black)12.5%

Color previews

#df9c2f text on a black background

contrast 8.93:1

Card sample

#df9c2f text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9c2f in the Color Lab