Skip to content
Vectorlight.net

#c8ba31

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

HEX
#c8ba31
RGB
200, 186, 49
HSL
54.44°, 60.64%, 48.82%
OKLCH
0.78 0.15 103.29
Names
—
Lists

Codes

FormatValue
HEX#c8ba31
RGBrgb(200 186 49)
HSLhsl(54.44 60.64% 48.82%)
OKLCHoklch(0.78 0.15 103.29)
CMYKcmyk(0% 7% 75.5% 21.57%)
Android#ffc8ba31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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