Skip to content
Vectorlight.net

#8fa40c

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

HEX
#8fa40c
RGB
143, 164, 12
HSL
68.29°, 86.36%, 34.51%
OKLCH
0.68 0.16 118.56
Names
—
Lists

Codes

FormatValue
HEX#8fa40c
RGBrgb(143 164 12)
HSLhsl(68.29 86.36% 34.51%)
OKLCHoklch(0.68 0.16 118.56)
CMYKcmyk(12.8% 0% 92.68% 35.69%)
Android#ff8fa40c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8fa40c;
background-color: #8fa40c;
bg-[#8fa40c]