Skip to content
Vectorlight.net

#28822e

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

HEX
#28822e
RGB
40, 130, 46
HSL
124°, 52.94%, 33.33%
OKLCH
0.54 0.15 144.14
Names
—
Lists

Codes

FormatValue
HEX#28822e
RGBrgb(40 130 46)
HSLhsl(124 52.94% 33.33%)
OKLCHoklch(0.54 0.15 144.14)
CMYKcmyk(69.23% 0% 64.62% 49.02%)
Android#ff28822e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #28822e;
background-color: #28822e;
bg-[#28822e]