Skip to content
Vectorlight.net

#2ba70b

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

HEX
#2ba70b
RGB
43, 167, 11
HSL
107.69°, 87.64%, 34.9%
OKLCH
0.64 0.21 140.94
Names
—
Lists

Codes

FormatValue
HEX#2ba70b
RGBrgb(43 167 11)
HSLhsl(107.69 87.64% 34.9%)
OKLCHoklch(0.64 0.21 140.94)
CMYKcmyk(74.25% 0% 93.41% 34.51%)
Android#ff2ba70b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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