Skip to content
Vectorlight.net

#cb9d02

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

HEX
#cb9d02
RGB
203, 157, 2
HSL
46.27°, 98.05%, 40.2%
OKLCH
0.72 0.15 87.46
Names
—
Lists

Codes

FormatValue
HEX#cb9d02
RGBrgb(203 157 2)
HSLhsl(46.27 98.05% 40.2%)
OKLCHoklch(0.72 0.15 87.46)
CMYKcmyk(0% 22.66% 99.01% 20.39%)
Android#ffcb9d02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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