Skip to content
Vectorlight.net

#28bb2f

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

HEX
#28bb2f
RGB
40, 187, 47
HSL
122.86°, 64.76%, 44.51%
OKLCH
0.69 0.21 143.32
Names
—
Lists

Codes

FormatValue
HEX#28bb2f
RGBrgb(40 187 47)
HSLhsl(122.86 64.76% 44.51%)
OKLCHoklch(0.69 0.21 143.32)
CMYKcmyk(78.61% 0% 74.87% 26.67%)
Android#ff28bb2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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