Skip to content
Vectorlight.net

#e5c951

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

HEX
#e5c951
RGB
229, 201, 81
HSL
48.65°, 74%, 60.78%
OKLCH
0.84 0.14 96.03
Names
—
Lists

Codes

FormatValue
HEX#e5c951
RGBrgb(229 201 81)
HSLhsl(48.65 74% 60.78%)
OKLCHoklch(0.84 0.14 96.03)
CMYKcmyk(0% 12.23% 64.63% 10.2%)
Android#ffe5c951

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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