Skip to content
Vectorlight.net

#cbc02a

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

HEX
#cbc02a
RGB
203, 192, 42
HSL
55.9°, 65.71%, 48.04%
OKLCH
0.79 0.16 104.99
Names
—
Lists

Codes

FormatValue
HEX#cbc02a
RGBrgb(203 192 42)
HSLhsl(55.9 65.71% 48.04%)
OKLCHoklch(0.79 0.16 104.99)
CMYKcmyk(0% 5.42% 79.31% 20.39%)
Android#ffcbc02a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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