Skip to content
Vectorlight.net

#28802f

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

HEX
#28802f
RGB
40, 128, 47
HSL
124.77°, 52.38%, 32.94%
OKLCH
0.53 0.14 144.4
Names
—
Lists

Codes

FormatValue
HEX#28802f
RGBrgb(40 128 47)
HSLhsl(124.77 52.38% 32.94%)
OKLCHoklch(0.53 0.14 144.4)
CMYKcmyk(68.75% 0% 63.28% 49.8%)
Android#ff28802f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.21:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#28802f"
Gradient stop
<stop stop-color="#28802f"/>
CSS variable + fill
:root { --c: #28802f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #28802f;
background-color: #28802f;
bg-[#28802f]