Skip to content
Vectorlight.net

#cea227

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

HEX
#cea227
RGB
206, 162, 39
HSL
44.19°, 68.16%, 48.04%
OKLCH
0.73 0.14 87.25
Names
—
Lists

Codes

FormatValue
HEX#cea227
RGBrgb(206 162 39)
HSLhsl(44.19 68.16% 48.04%)
OKLCHoklch(0.73 0.14 87.25)
CMYKcmyk(0% 21.36% 81.07% 19.22%)
Android#ffcea227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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