Skip to content
Vectorlight.net

#cbb228

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

HEX
#cbb228
RGB
203, 178, 40
HSL
50.8°, 67.08%, 47.65%
OKLCH
0.76 0.15 98.11
Names
—
Lists

Codes

FormatValue
HEX#cbb228
RGBrgb(203 178 40)
HSLhsl(50.8 67.08% 47.65%)
OKLCHoklch(0.76 0.15 98.11)
CMYKcmyk(0% 12.32% 80.3% 20.39%)
Android#ffcbb228

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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