Skip to content
Vectorlight.net

#2fb81f

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

HEX
#2fb81f
RGB
47, 184, 31
HSL
113.73°, 71.16%, 42.16%
OKLCH
0.68 0.22 141.75
Names
—
Lists

Codes

FormatValue
HEX#2fb81f
RGBrgb(47 184 31)
HSLhsl(113.73 71.16% 42.16%)
OKLCHoklch(0.68 0.22 141.75)
CMYKcmyk(74.46% 0% 83.15% 27.84%)
Android#ff2fb81f

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

Recolor an SVG with this color

CSS

color / background
color: #2fb81f;
background-color: #2fb81f;
bg-[#2fb81f]