Skip to content
Vectorlight.net

#ccc797

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

HEX
#ccc797
RGB
204, 199, 151
HSL
54.34°, 34.19%, 69.61%
OKLCH
0.82 0.06 102.72
Names
—
Lists

Codes

FormatValue
HEX#ccc797
RGBrgb(204 199 151)
HSLhsl(54.34 34.19% 69.61%)
OKLCHoklch(0.82 0.06 102.72)
CMYKcmyk(0% 2.45% 25.98% 20%)
Android#ffccc797

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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