Skip to content
Vectorlight.net

#cc8a2a

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

HEX
#cc8a2a
RGB
204, 138, 42
HSL
35.56°, 65.85%, 48.24%
OKLCH
0.68 0.13 71.32
Names
—
Lists

Codes

FormatValue
HEX#cc8a2a
RGBrgb(204 138 42)
HSLhsl(35.56 65.85% 48.24%)
OKLCHoklch(0.68 0.13 71.32)
CMYKcmyk(0% 32.35% 79.41% 20%)
Android#ffcc8a2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.90:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.23: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="#cc8a2a"
Gradient stop
<stop stop-color="#cc8a2a"/>
CSS variable + fill
:root { --c: #cc8a2a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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