Skip to content
Vectorlight.net

#28ac2e

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

HEX
#28ac2e
RGB
40, 172, 46
HSL
122.73°, 62.26%, 41.57%
OKLCH
0.65 0.2 143.38
Names
—
Lists

Codes

FormatValue
HEX#28ac2e
RGBrgb(40 172 46)
HSLhsl(122.73 62.26% 41.57%)
OKLCHoklch(0.65 0.2 143.38)
CMYKcmyk(76.74% 0% 73.26% 32.55%)
Android#ff28ac2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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