Skip to content
Vectorlight.net

#cac226

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

HEX
#cac226
RGB
202, 194, 38
HSL
57.07°, 68.33%, 47.06%
OKLCH
0.8 0.16 106.37
Names
—
Lists

Codes

FormatValue
HEX#cac226
RGBrgb(202 194 38)
HSLhsl(57.07 68.33% 47.06%)
OKLCHoklch(0.8 0.16 106.37)
CMYKcmyk(0% 3.96% 81.19% 20.78%)
Android#ffcac226

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

Recolor an SVG with this color

CSS

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