Skip to content

#cc9213

a dark, electric yellow · warm · closest name: orange

RGB
204, 146, 19
HSL
41°, 83%, 44%
CMYK
0, 28, 91, 20
Luminance
0.3344

Every format

HEX#cc9213
RGBrgb(204, 146, 19)
HSLhsl(41, 83%, 44%)
CMYKcmyk(0%, 28%, 91%, 20%)
LABlab(64.5 12.3 66.2)
LCHlch(64.5 67.3 79.4)
OKLCHoklch(0.699 0.141 79.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc9213 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#cc9213 on black: 7.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green57.3%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta28.4%
Yellow90.7%
Key (black)20.0%

Color previews

#cc9213 text on a black background

contrast 7.69:1

Card sample

#cc9213 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc9213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc9213 in the Color Lab