Skip to content
Vectorlight.net

#2a885d

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

HEX
#2a885d
RGB
42, 136, 93
HSL
152.55°, 52.81%, 34.9%
OKLCH
0.56 0.11 159.4
Names
—
Lists

Codes

FormatValue
HEX#2a885d
RGBrgb(42 136 93)
HSLhsl(152.55 52.81% 34.9%)
OKLCHoklch(0.56 0.11 159.4)
CMYKcmyk(69.12% 0% 31.62% 46.67%)
Android#ff2a885d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2a885d;
background-color: #2a885d;
bg-[#2a885d]