Skip to content
Vectorlight.net

#cac151

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

HEX
#cac151
RGB
202, 193, 81
HSL
55.54°, 53.3%, 55.49%
OKLCH
0.8 0.13 104.71
Names
—
Lists

Codes

FormatValue
HEX#cac151
RGBrgb(202 193 81)
HSLhsl(55.54 53.3% 55.49%)
OKLCHoklch(0.8 0.13 104.71)
CMYKcmyk(0% 4.46% 59.9% 20.78%)
Android#ffcac151

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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