Skip to content
Vectorlight.net

#ccc796

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

HEX
#ccc796
RGB
204, 199, 150
HSL
54.44°, 34.62%, 69.41%
OKLCH
0.82 0.07 102.84
Names
—
Lists

Codes

FormatValue
HEX#ccc796
RGBrgb(204 199 150)
HSLhsl(54.44 34.62% 69.41%)
OKLCHoklch(0.82 0.07 102.84)
CMYKcmyk(0% 2.45% 26.47% 20%)
Android#ffccc796

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.17: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="#ccc796"
Gradient stop
<stop stop-color="#ccc796"/>
CSS variable + fill
:root { --c: #ccc796; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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