Skip to content
Vectorlight.net

#cbc840

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

HEX
#cbc840
RGB
203, 200, 64
HSL
58.71°, 57.2%, 52.35%
OKLCH
0.81 0.15 108.12
Names
—
Lists

Codes

FormatValue
HEX#cbc840
RGBrgb(203 200 64)
HSLhsl(58.71 57.2% 52.35%)
OKLCHoklch(0.81 0.15 108.12)
CMYKcmyk(0% 1.48% 68.47% 20.39%)
Android#ffcbc840

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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