Skip to content
Vectorlight.net

#cba41b

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

HEX
#cba41b
RGB
203, 164, 27
HSL
46.7°, 76.52%, 45.1%
OKLCH
0.73 0.14 90.75
Names
—
Lists

Codes

FormatValue
HEX#cba41b
RGBrgb(203 164 27)
HSLhsl(46.7 76.52% 45.1%)
OKLCHoklch(0.73 0.14 90.75)
CMYKcmyk(0% 19.21% 86.7% 20.39%)
Android#ffcba41b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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