Skip to content

#dc7c2f

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

RGB
220, 124, 47
HSL
27°, 71%, 52%
CMYK
0, 44, 79, 14
Luminance
0.2984

Every format

HEX#dc7c2f
RGBrgb(220, 124, 47)
HSLhsl(27, 71%, 52%)
CMYKcmyk(0%, 44%, 79%, 14%)
LABlab(61.5 31.8 55.5)
LCHlch(61.5 64.0 60.2)
OKLCHoklch(0.680 0.147 54.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc7c2f on white: 3.01:1
AA ✗ fail · AA-large · AAA
Aa
#dc7c2f on black: 6.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green48.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta43.6%
Yellow78.6%
Key (black)13.7%

Color previews

#dc7c2f text on a black background

contrast 6.97:1

Card sample

#dc7c2f text on a white background

contrast 3.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc7c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc7c2f in the Color Lab