Skip to content
Vectorlight.net

#e7cf2a

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

HEX
#e7cf2a
RGB
231, 207, 42
HSL
52.38°, 79.75%, 53.53%
OKLCH
0.85 0.17 100.24
Names
—
Lists

Codes

FormatValue
HEX#e7cf2a
RGBrgb(231 207 42)
HSLhsl(52.38 79.75% 53.53%)
OKLCHoklch(0.85 0.17 100.24)
CMYKcmyk(0% 10.39% 81.82% 9.41%)
Android#ffe7cf2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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