Skip to content
Vectorlight.net

#05902a

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

HEX
#05902a
RGB
5, 144, 42
HSL
135.97°, 93.29%, 29.22%
OKLCH
0.57 0.17 145.47
Names
—
Lists

Codes

FormatValue
HEX#05902a
RGBrgb(5 144 42)
HSLhsl(135.97 93.29% 29.22%)
OKLCHoklch(0.57 0.17 145.47)
CMYKcmyk(96.53% 0% 70.83% 43.53%)
Android#ff05902a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #05902a;
background-color: #05902a;
bg-[#05902a]