Skip to content
Vectorlight.net

#288e5d

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

HEX
#288e5d
RGB
40, 142, 93
HSL
151.18°, 56.04%, 35.69%
OKLCH
0.58 0.12 157.76
Names
—
Lists

Codes

FormatValue
HEX#288e5d
RGBrgb(40 142 93)
HSLhsl(151.18 56.04% 35.69%)
OKLCHoklch(0.58 0.12 157.76)
CMYKcmyk(71.83% 0% 34.51% 44.31%)
Android#ff288e5d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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