Skip to content
Vectorlight.net

#028018

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

HEX
#028018
RGB
2, 128, 24
HSL
130.48°, 96.92%, 25.49%
OKLCH
0.52 0.17 143.98
Names
—
Lists

Codes

FormatValue
HEX#028018
RGBrgb(2 128 24)
HSLhsl(130.48 96.92% 25.49%)
OKLCHoklch(0.52 0.17 143.98)
CMYKcmyk(98.44% 0% 81.25% 49.8%)
Android#ff028018

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #028018;
background-color: #028018;
bg-[#028018]