Skip to content
Vectorlight.net

#488c2a

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

HEX
#488c2a
RGB
72, 140, 42
HSL
101.63°, 53.85%, 35.69%
OKLCH
0.57 0.15 137.71
Names
—
Lists

Codes

FormatValue
HEX#488c2a
RGBrgb(72 140 42)
HSLhsl(101.63 53.85% 35.69%)
OKLCHoklch(0.57 0.15 137.71)
CMYKcmyk(48.57% 0% 70% 45.1%)
Android#ff488c2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #488c2a;
background-color: #488c2a;
bg-[#488c2a]