Skip to content
Vectorlight.net

#cc540c

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#cc540c
RGB
204, 84, 12
HSL
22.5°, 88.89%, 42.35%
OKLCH
0.59 0.17 44.05
Names
—
Lists

Codes

FormatValue
HEX#cc540c
RGBrgb(204 84 12)
HSLhsl(22.5 88.89% 42.35%)
OKLCHoklch(0.59 0.17 44.05)
CMYKcmyk(0% 58.82% 94.12% 20%)
Android#ffcc540c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.84:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#cc540c"
Gradient stop
<stop stop-color="#cc540c"/>
CSS variable + fill
:root { --c: #cc540c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #cc540c;
background-color: #cc540c;
bg-[#cc540c]