Skip to content
Vectorlight.net

#28c30f

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

HEX
#28c30f
RGB
40, 195, 15
HSL
111.67°, 85.71%, 41.18%
OKLCH
0.71 0.23 141.65
Names
—
Lists

Codes

FormatValue
HEX#28c30f
RGBrgb(40 195 15)
HSLhsl(111.67 85.71% 41.18%)
OKLCHoklch(0.71 0.23 141.65)
CMYKcmyk(79.49% 0% 92.31% 23.53%)
Android#ff28c30f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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