Skip to content
Vectorlight.net

#12741d

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

HEX
#12741d
RGB
18, 116, 29
HSL
126.73°, 73.13%, 26.27%
OKLCH
0.49 0.15 144.07
Names
—
Lists

Codes

FormatValue
HEX#12741d
RGBrgb(18 116 29)
HSLhsl(126.73 73.13% 26.27%)
OKLCHoklch(0.49 0.15 144.07)
CMYKcmyk(84.48% 0% 75% 54.51%)
Android#ff12741d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12741d;
background-color: #12741d;
bg-[#12741d]