Skip to content
Vectorlight.net

#028048

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

HEX
#028048
RGB
2, 128, 72
HSL
153.33°, 96.92%, 25.49%
OKLCH
0.53 0.13 154.98
Names
—
Lists

Codes

FormatValue
HEX#028048
RGBrgb(2 128 72)
HSLhsl(153.33 96.92% 25.49%)
OKLCHoklch(0.53 0.13 154.98)
CMYKcmyk(98.44% 0% 43.75% 49.8%)
Android#ff028048

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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