Skip to content
Vectorlight.net

#cab02f

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

HEX
#cab02f
RGB
202, 176, 47
HSL
49.94°, 62.25%, 48.82%
OKLCH
0.76 0.14 97.13
Names
—
Lists

Codes

FormatValue
HEX#cab02f
RGBrgb(202 176 47)
HSLhsl(49.94 62.25% 48.82%)
OKLCHoklch(0.76 0.14 97.13)
CMYKcmyk(0% 12.87% 76.73% 20.78%)
Android#ffcab02f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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