Skip to content
Vectorlight.net

#cec701

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

HEX
#cec701
RGB
206, 199, 1
HSL
57.95°, 99.03%, 40.59%
OKLCH
0.81 0.17 107.14
Names
—
Lists

Codes

FormatValue
HEX#cec701
RGBrgb(206 199 1)
HSLhsl(57.95 99.03% 40.59%)
OKLCHoklch(0.81 0.17 107.14)
CMYKcmyk(0% 3.4% 99.51% 19.22%)
Android#ffcec701

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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