Skip to content
Vectorlight.net

#06a42d

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

HEX
#06a42d
RGB
6, 164, 45
HSL
134.81°, 92.94%, 33.33%
OKLCH
0.63 0.2 145
Names
—
Lists

Codes

FormatValue
HEX#06a42d
RGBrgb(6 164 45)
HSLhsl(134.81 92.94% 33.33%)
OKLCHoklch(0.63 0.2 145)
CMYKcmyk(96.34% 0% 72.56% 35.69%)
Android#ff06a42d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.35:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#06a42d"
Gradient stop
<stop stop-color="#06a42d"/>
CSS variable + fill
:root { --c: #06a42d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #06a42d;
background-color: #06a42d;
bg-[#06a42d]