Skip to content

#cc8021

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

RGB
204, 128, 33
HSL
33°, 72%, 47%
CMYK
0, 37, 84, 20
Luminance
0.2839

Every format

HEX#cc8021
RGBrgb(204, 128, 33)
HSLhsl(33, 72%, 47%)
CMYKcmyk(0%, 37%, 84%, 20%)
LABlab(60.2 22.4 59.0)
LCHlch(60.2 63.1 69.2)
OKLCHoklch(0.665 0.138 65.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc8021 on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#cc8021 on black: 6.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta37.3%
Yellow83.8%
Key (black)20.0%

Color previews

#cc8021 text on a black background

contrast 6.68:1

Card sample

#cc8021 text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc8021;
background: linear-gradient(135deg, #cc8021, #A6CC21);

Monochromatic scale

Palettes built from #cc8021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc8021 in the Color Lab