Skip to content
Vectorlight.net

#2afb99

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

HEX
#2afb99
RGB
42, 251, 153
HSL
151.87°, 96.31%, 57.45%
OKLCH
0.87 0.2 155.75
Names
—
Lists

Codes

FormatValue
HEX#2afb99
RGBrgb(42 251 153)
HSLhsl(151.87 96.31% 57.45%)
OKLCHoklch(0.87 0.2 155.75)
CMYKcmyk(83.27% 0% 39.04% 1.57%)
Android#ff2afb99

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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