Skip to content
Vectorlight.net

#488018

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

HEX
#488018
RGB
72, 128, 24
HSL
92.31°, 68.42%, 29.8%
OKLCH
0.54 0.14 134.42
Names
—
Lists

Codes

FormatValue
HEX#488018
RGBrgb(72 128 24)
HSLhsl(92.31 68.42% 29.8%)
OKLCHoklch(0.54 0.14 134.42)
CMYKcmyk(43.75% 0% 81.25% 49.8%)
Android#ff488018

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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