Skip to content
Vectorlight.net

#c0ba28

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

HEX
#c0ba28
RGB
192, 186, 40
HSL
57.63°, 65.52%, 45.49%
OKLCH
0.77 0.15 107.03
Names
—
Lists

Codes

FormatValue
HEX#c0ba28
RGBrgb(192 186 40)
HSLhsl(57.63 65.52% 45.49%)
OKLCHoklch(0.77 0.15 107.03)
CMYKcmyk(0% 3.13% 79.17% 24.71%)
Android#ffc0ba28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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