Skip to content
Vectorlight.net

#128240

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

HEX
#128240
RGB
18, 130, 64
HSL
144.64°, 75.68%, 29.02%
OKLCH
0.53 0.14 150.92
Names
—
Lists

Codes

FormatValue
HEX#128240
RGBrgb(18 130 64)
HSLhsl(144.64 75.68% 29.02%)
OKLCHoklch(0.53 0.14 150.92)
CMYKcmyk(86.15% 0% 50.77% 49.02%)
Android#ff128240

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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