Skip to content
Vectorlight.net

#c6bc02

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

HEX
#c6bc02
RGB
198, 188, 2
HSL
56.94°, 98%, 39.22%
OKLCH
0.78 0.17 105.78
Names
—
Lists

Codes

FormatValue
HEX#c6bc02
RGBrgb(198 188 2)
HSLhsl(56.94 98% 39.22%)
OKLCHoklch(0.78 0.17 105.78)
CMYKcmyk(0% 5.05% 98.99% 22.35%)
Android#ffc6bc02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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