Skip to content
Vectorlight.net

#cec70c

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

HEX
#cec70c
RGB
206, 199, 12
HSL
57.84°, 88.99%, 42.75%
OKLCH
0.81 0.17 107.09
Names
—
Lists

Codes

FormatValue
HEX#cec70c
RGBrgb(206 199 12)
HSLhsl(57.84 88.99% 42.75%)
OKLCHoklch(0.81 0.17 107.09)
CMYKcmyk(0% 3.4% 94.17% 19.22%)
Android#ffcec70c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.77: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="#cec70c"
Gradient stop
<stop stop-color="#cec70c"/>
CSS variable + fill
:root { --c: #cec70c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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