Skip to content
Vectorlight.net

#cbc30c

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

HEX
#cbc30c
RGB
203, 195, 12
HSL
57.49°, 88.84%, 42.16%
OKLCH
0.8 0.17 106.65
Names
—
Lists

Codes

FormatValue
HEX#cbc30c
RGBrgb(203 195 12)
HSLhsl(57.49 88.84% 42.16%)
OKLCHoklch(0.8 0.17 106.65)
CMYKcmyk(0% 3.94% 94.09% 20.39%)
Android#ffcbc30c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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