Skip to content
Vectorlight.net

#e7c71f

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

HEX
#e7c71f
RGB
231, 199, 31
HSL
50.4°, 80.65%, 51.37%
OKLCH
0.83 0.17 96.86
Names
—
Lists

Codes

FormatValue
HEX#e7c71f
RGBrgb(231 199 31)
HSLhsl(50.4 80.65% 51.37%)
OKLCHoklch(0.83 0.17 96.86)
CMYKcmyk(0% 13.85% 86.58% 9.41%)
Android#ffe7c71f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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