Skip to content
Vectorlight.net

#c6b91c

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

HEX
#c6b91c
RGB
198, 185, 28
HSL
55.41°, 75.22%, 44.31%
OKLCH
0.77 0.16 104.2
Names
—
Lists

Codes

FormatValue
HEX#c6b91c
RGBrgb(198 185 28)
HSLhsl(55.41 75.22% 44.31%)
OKLCHoklch(0.77 0.16 104.2)
CMYKcmyk(0% 6.57% 85.86% 22.35%)
Android#ffc6b91c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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