Skip to content
Vectorlight.net

#487c12

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

HEX
#487c12
RGB
72, 124, 18
HSL
89.43°, 74.65%, 27.84%
OKLCH
0.53 0.14 133.34
Names
—
Lists

Codes

FormatValue
HEX#487c12
RGBrgb(72 124 18)
HSLhsl(89.43 74.65% 27.84%)
OKLCHoklch(0.53 0.14 133.34)
CMYKcmyk(41.94% 0% 85.48% 51.37%)
Android#ff487c12

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #487c12;
background-color: #487c12;
bg-[#487c12]