Skip to content
Vectorlight.net

#cec12e

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

HEX
#cec12e
RGB
206, 193, 46
HSL
55.13°, 63.49%, 49.41%
OKLCH
0.8 0.16 104.08
Names
—
Lists

Codes

FormatValue
HEX#cec12e
RGBrgb(206 193 46)
HSLhsl(55.13 63.49% 49.41%)
OKLCHoklch(0.8 0.16 104.08)
CMYKcmyk(0% 6.31% 77.67% 19.22%)
Android#ffcec12e

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

Recolor an SVG with this color

CSS

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