Skip to content
Vectorlight.net

#cac331

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

HEX
#cac331
RGB
202, 195, 49
HSL
57.25°, 60.96%, 49.22%
OKLCH
0.8 0.16 106.61
Names
—
Lists

Codes

FormatValue
HEX#cac331
RGBrgb(202 195 49)
HSLhsl(57.25 60.96% 49.22%)
OKLCHoklch(0.8 0.16 106.61)
CMYKcmyk(0% 3.47% 75.74% 20.78%)
Android#ffcac331

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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