Skip to content
Vectorlight.net

#126302

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

HEX
#126302
RGB
18, 99, 2
HSL
110.1°, 96.04%, 19.8%
OKLCH
0.44 0.14 141.23
Names
—
Lists

Codes

FormatValue
HEX#126302
RGBrgb(18 99 2)
HSLhsl(110.1 96.04% 19.8%)
OKLCHoklch(0.44 0.14 141.23)
CMYKcmyk(81.82% 0% 97.98% 61.18%)
Android#ff126302

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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