Skip to content
Vectorlight.net

#12701b

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

HEX
#12701b
RGB
18, 112, 27
HSL
125.74°, 72.31%, 25.49%
OKLCH
0.48 0.15 143.88
Names
—
Lists

Codes

FormatValue
HEX#12701b
RGBrgb(18 112 27)
HSLhsl(125.74 72.31% 25.49%)
OKLCHoklch(0.48 0.15 143.88)
CMYKcmyk(83.93% 0% 75.89% 56.08%)
Android#ff12701b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12701b;
background-color: #12701b;
bg-[#12701b]