Skip to content
Vectorlight.net

#2af8bf

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

HEX
#2af8bf
RGB
42, 248, 191
HSL
163.4°, 93.64%, 56.86%
OKLCH
0.87 0.17 167.81
Names
—
Lists

Codes

FormatValue
HEX#2af8bf
RGBrgb(42 248 191)
HSLhsl(163.4 93.64% 56.86%)
OKLCHoklch(0.87 0.17 167.81)
CMYKcmyk(83.06% 0% 22.98% 2.75%)
Android#ff2af8bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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