Skip to content
Vectorlight.net

#c4a204

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

HEX
#c4a204
RGB
196, 162, 4
HSL
49.38°, 96%, 39.22%
OKLCH
0.72 0.15 93.69
Names
—
Lists

Codes

FormatValue
HEX#c4a204
RGBrgb(196 162 4)
HSLhsl(49.38 96% 39.22%)
OKLCHoklch(0.72 0.15 93.69)
CMYKcmyk(0% 17.35% 97.96% 23.14%)
Android#ffc4a204

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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