Skip to content
Vectorlight.net

#e4af2a

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

HEX
#e4af2a
RGB
228, 175, 42
HSL
42.9°, 77.5%, 52.94%
OKLCH
0.78 0.15 84.73
Names
—
Lists

Codes

FormatValue
HEX#e4af2a
RGBrgb(228 175 42)
HSLhsl(42.9 77.5% 52.94%)
OKLCHoklch(0.78 0.15 84.73)
CMYKcmyk(0% 23.25% 81.58% 10.59%)
Android#ffe4af2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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