Skip to content
Vectorlight.net

#28b781

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

HEX
#28b781
RGB
40, 183, 129
HSL
157.34°, 64.13%, 43.73%
OKLCH
0.69 0.14 162.05
Names
—
Lists

Codes

FormatValue
HEX#28b781
RGBrgb(40 183 129)
HSLhsl(157.34 64.13% 43.73%)
OKLCHoklch(0.69 0.14 162.05)
CMYKcmyk(78.14% 0% 29.51% 28.24%)
Android#ff28b781

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28b781;
background-color: #28b781;
bg-[#28b781]