Skip to content
Vectorlight.net

#cbc305

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

HEX
#cbc305
RGB
203, 195, 5
HSL
57.58°, 95.19%, 40.78%
OKLCH
0.8 0.17 106.68
Names
—
Lists

Codes

FormatValue
HEX#cbc305
RGBrgb(203 195 5)
HSLhsl(57.58 95.19% 40.78%)
OKLCHoklch(0.8 0.17 106.68)
CMYKcmyk(0% 3.94% 97.54% 20.39%)
Android#ffcbc305

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.34: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="#cbc305"
Gradient stop
<stop stop-color="#cbc305"/>
CSS variable + fill
:root { --c: #cbc305; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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