Skip to content
Vectorlight.net

#ccc798

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

HEX
#ccc798
RGB
204, 199, 152
HSL
54.23°, 33.77%, 69.8%
OKLCH
0.82 0.06 102.59
Names
—
Lists

Codes

FormatValue
HEX#ccc798
RGBrgb(204 199 152)
HSLhsl(54.23 33.77% 69.8%)
OKLCHoklch(0.82 0.06 102.59)
CMYKcmyk(0% 2.45% 25.49% 20%)
Android#ffccc798

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

Recolor an SVG with this color

CSS

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