Skip to content
Vectorlight.net

#7caf02

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

HEX
#7caf02
RGB
124, 175, 2
HSL
77.69°, 97.74%, 34.71%
OKLCH
0.69 0.18 127.62
Names
—
Lists

Codes

FormatValue
HEX#7caf02
RGBrgb(124 175 2)
HSLhsl(77.69 97.74% 34.71%)
OKLCHoklch(0.69 0.18 127.62)
CMYKcmyk(29.14% 0% 98.86% 31.37%)
Android#ff7caf02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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