Skip to content
Vectorlight.net

#cc7942

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

HEX
#cc7942
RGB
204, 121, 66
HSL
23.91°, 57.5%, 52.94%
OKLCH
0.66 0.13 52.31
Names
—
Lists

Codes

FormatValue
HEX#cc7942
RGBrgb(204 121 66)
HSLhsl(23.91 57.5% 52.94%)
OKLCHoklch(0.66 0.13 52.31)
CMYKcmyk(0% 40.69% 67.65% 20%)
Android#ffcc7942

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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