Skip to content
Vectorlight.net

#7eba2c

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

HEX
#7eba2c
RGB
126, 186, 44
HSL
85.35°, 61.74%, 45.1%
OKLCH
0.72 0.18 130.35
Names
—
Lists

Codes

FormatValue
HEX#7eba2c
RGBrgb(126 186 44)
HSLhsl(85.35 61.74% 45.1%)
OKLCHoklch(0.72 0.18 130.35)
CMYKcmyk(32.26% 0% 76.34% 27.06%)
Android#ff7eba2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7eba2c;
background-color: #7eba2c;
bg-[#7eba2c]