Skip to content
Vectorlight.net

#cec20e

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

HEX
#cec20e
RGB
206, 194, 14
HSL
56.25°, 87.27%, 43.14%
OKLCH
0.8 0.17 105.03
Names
—
Lists

Codes

FormatValue
HEX#cec20e
RGBrgb(206 194 14)
HSLhsl(56.25 87.27% 43.14%)
OKLCHoklch(0.8 0.17 105.03)
CMYKcmyk(0% 5.83% 93.2% 19.22%)
Android#ffcec20e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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