Skip to content
Vectorlight.net

#cec03d

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

HEX
#cec03d
RGB
206, 192, 61
HSL
54.21°, 59.67%, 52.35%
OKLCH
0.8 0.15 103.12
Names
—
Lists

Codes

FormatValue
HEX#cec03d
RGBrgb(206 192 61)
HSLhsl(54.21 59.67% 52.35%)
OKLCHoklch(0.8 0.15 103.12)
CMYKcmyk(0% 6.8% 70.39% 19.22%)
Android#ffcec03d

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

Recolor an SVG with this color

CSS

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