Skip to content
Vectorlight.net

#cea42f

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

HEX
#cea42f
RGB
206, 164, 47
HSL
44.15°, 62.85%, 49.61%
OKLCH
0.74 0.14 87.8
Names
—
Lists

Codes

FormatValue
HEX#cea42f
RGBrgb(206 164 47)
HSLhsl(44.15 62.85% 49.61%)
OKLCHoklch(0.74 0.14 87.8)
CMYKcmyk(0% 20.39% 77.18% 19.22%)
Android#ffcea42f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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