Skip to content
Vectorlight.net

#05802c

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

HEX
#05802c
RGB
5, 128, 44
HSL
139.02°, 92.48%, 26.08%
OKLCH
0.52 0.15 146.76
Names
—
Lists

Codes

FormatValue
HEX#05802c
RGBrgb(5 128 44)
HSLhsl(139.02 92.48% 26.08%)
OKLCHoklch(0.52 0.15 146.76)
CMYKcmyk(96.09% 0% 65.63% 49.8%)
Android#ff05802c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #05802c;
background-color: #05802c;
bg-[#05802c]