Skip to content
Vectorlight.net

#128142

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

HEX
#128142
RGB
18, 129, 66
HSL
145.95°, 75.51%, 28.82%
OKLCH
0.53 0.13 151.74
Names
—
Lists

Codes

FormatValue
HEX#128142
RGBrgb(18 129 66)
HSLhsl(145.95 75.51% 28.82%)
OKLCHoklch(0.53 0.13 151.74)
CMYKcmyk(86.05% 0% 48.84% 49.41%)
Android#ff128142

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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