Skip to content
Vectorlight.net

#c4b802

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

HEX
#c4b802
RGB
196, 184, 2
HSL
56.29°, 97.98%, 38.82%
OKLCH
0.77 0.16 104.87
Names
—
Lists

Codes

FormatValue
HEX#c4b802
RGBrgb(196 184 2)
HSLhsl(56.29 97.98% 38.82%)
OKLCHoklch(0.77 0.16 104.87)
CMYKcmyk(0% 6.12% 98.98% 23.14%)
Android#ffc4b802

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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