Skip to content
Vectorlight.net

#e7ca1b

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

HEX
#e7ca1b
RGB
231, 202, 27
HSL
51.47°, 80.95%, 50.59%
OKLCH
0.84 0.17 98.36
Names
—
Lists

Codes

FormatValue
HEX#e7ca1b
RGBrgb(231 202 27)
HSLhsl(51.47 80.95% 50.59%)
OKLCHoklch(0.84 0.17 98.36)
CMYKcmyk(0% 12.55% 88.31% 9.41%)
Android#ffe7ca1b

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.86: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="#e7ca1b"
Gradient stop
<stop stop-color="#e7ca1b"/>
CSS variable + fill
:root { --c: #e7ca1b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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