Skip to content
Vectorlight.net

#cac308

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

HEX
#cac308
RGB
202, 195, 8
HSL
57.84°, 92.38%, 41.18%
OKLCH
0.8 0.17 107.06
Names
—
Lists

Codes

FormatValue
HEX#cac308
RGBrgb(202 195 8)
HSLhsl(57.84 92.38% 41.18%)
OKLCHoklch(0.8 0.17 107.06)
CMYKcmyk(0% 3.47% 96.04% 20.78%)
Android#ffcac308

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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