Skip to content
Vectorlight.net

#c8a302

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

HEX
#c8a302
RGB
200, 163, 2
HSL
48.79°, 98.02%, 39.61%
OKLCH
0.73 0.15 92.4
Names
—
Lists

Codes

FormatValue
HEX#c8a302
RGBrgb(200 163 2)
HSLhsl(48.79 98.02% 39.61%)
OKLCHoklch(0.73 0.15 92.4)
CMYKcmyk(0% 18.5% 99% 21.57%)
Android#ffc8a302

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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