Skip to content
Vectorlight.net

#28a602

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

HEX
#28a602
RGB
40, 166, 2
HSL
106.1°, 97.62%, 32.94%
OKLCH
0.63 0.21 140.9
Names
—
Lists

Codes

FormatValue
HEX#28a602
RGBrgb(40 166 2)
HSLhsl(106.1 97.62% 32.94%)
OKLCHoklch(0.63 0.21 140.9)
CMYKcmyk(75.9% 0% 98.8% 34.9%)
Android#ff28a602

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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