Skip to content
Vectorlight.net

#288048

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

HEX
#288048
RGB
40, 128, 72
HSL
141.82°, 52.38%, 32.94%
OKLCH
0.53 0.12 151.78
Names
—
Lists

Codes

FormatValue
HEX#288048
RGBrgb(40 128 72)
HSLhsl(141.82 52.38% 32.94%)
OKLCHoklch(0.53 0.12 151.78)
CMYKcmyk(68.75% 0% 43.75% 49.8%)
Android#ff288048

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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