Skip to content
Vectorlight.net

#006018

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

HEX
#006018
RGB
0, 96, 24
HSL
135°, 100%, 18.82%
OKLCH
0.43 0.13 145.44
Names
—
Lists

Codes

FormatValue
HEX#006018
RGBrgb(0 96 24)
HSLhsl(135 100% 18.82%)
OKLCHoklch(0.43 0.13 145.44)
CMYKcmyk(100% 0% 75% 62.35%)
Android#ff006018

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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