Skip to content
Vectorlight.net

#8ba82f

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

HEX
#8ba82f
RGB
139, 168, 47
HSL
74.38°, 56.28%, 42.16%
OKLCH
0.69 0.15 122.2
Names
—
Lists

Codes

FormatValue
HEX#8ba82f
RGBrgb(139 168 47)
HSLhsl(74.38 56.28% 42.16%)
OKLCHoklch(0.69 0.15 122.2)
CMYKcmyk(17.26% 0% 72.02% 34.12%)
Android#ff8ba82f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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