Skip to content
Vectorlight.net

#cec01c

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

HEX
#cec01c
RGB
206, 192, 28
HSL
55.28°, 76.07%, 45.88%
OKLCH
0.79 0.16 104
Names
—
Lists

Codes

FormatValue
HEX#cec01c
RGBrgb(206 192 28)
HSLhsl(55.28 76.07% 45.88%)
OKLCHoklch(0.79 0.16 104)
CMYKcmyk(0% 6.8% 86.41% 19.22%)
Android#ffcec01c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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