Skip to content
Vectorlight.net

#288e4f

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

HEX
#288e4f
RGB
40, 142, 79
HSL
142.94°, 56.04%, 35.69%
OKLCH
0.57 0.13 151.93
Names
—
Lists

Codes

FormatValue
HEX#288e4f
RGBrgb(40 142 79)
HSLhsl(142.94 56.04% 35.69%)
OKLCHoklch(0.57 0.13 151.93)
CMYKcmyk(71.83% 0% 44.37% 44.31%)
Android#ff288e4f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #288e4f;
background-color: #288e4f;
bg-[#288e4f]