Skip to content
Vectorlight.net

#c4ba2a

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

HEX
#c4ba2a
RGB
196, 186, 42
HSL
56.1°, 64.71%, 46.67%
OKLCH
0.77 0.15 105.25
Names
—
Lists

Codes

FormatValue
HEX#c4ba2a
RGBrgb(196 186 42)
HSLhsl(56.1 64.71% 46.67%)
OKLCHoklch(0.77 0.15 105.25)
CMYKcmyk(0% 5.1% 78.57% 23.14%)
Android#ffc4ba2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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