Skip to content
Vectorlight.net

#cbaf01

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

HEX
#cbaf01
RGB
203, 175, 1
HSL
51.68°, 99.02%, 40%
OKLCH
0.76 0.16 97.55
Names
—
Lists

Codes

FormatValue
HEX#cbaf01
RGBrgb(203 175 1)
HSLhsl(51.68 99.02% 40%)
OKLCHoklch(0.76 0.16 97.55)
CMYKcmyk(0% 13.79% 99.51% 20.39%)
Android#ffcbaf01

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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