Skip to content
Vectorlight.net

#cec826

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

HEX
#cec826
RGB
206, 200, 38
HSL
57.86°, 68.85%, 47.84%
OKLCH
0.81 0.17 107.27
Names
—
Lists

Codes

FormatValue
HEX#cec826
RGBrgb(206 200 38)
HSLhsl(57.86 68.85% 47.84%)
OKLCHoklch(0.81 0.17 107.27)
CMYKcmyk(0% 2.91% 81.55% 19.22%)
Android#ffcec826

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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