Skip to content
Vectorlight.net

#cec040

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

HEX
#cec040
RGB
206, 192, 64
HSL
54.08°, 59.17%, 52.94%
OKLCH
0.8 0.14 103
Names
—
Lists

Codes

FormatValue
HEX#cec040
RGBrgb(206 192 64)
HSLhsl(54.08 59.17% 52.94%)
OKLCHoklch(0.8 0.14 103)
CMYKcmyk(0% 6.8% 68.93% 19.22%)
Android#ffcec040

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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