Skip to content
Vectorlight.net

#028c04

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

HEX
#028c04
RGB
2, 140, 4
HSL
120.87°, 97.18%, 27.84%
OKLCH
0.55 0.19 142.6
Names
—
Lists

Codes

FormatValue
HEX#028c04
RGBrgb(2 140 4)
HSLhsl(120.87 97.18% 27.84%)
OKLCHoklch(0.55 0.19 142.6)
CMYKcmyk(98.57% 0% 97.14% 45.1%)
Android#ff028c04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #028c04;
background-color: #028c04;
bg-[#028c04]