Skip to content
Vectorlight.net

#a6cb2f

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

HEX
#a6cb2f
RGB
166, 203, 47
HSL
74.23°, 62.4%, 49.02%
OKLCH
0.79 0.18 122.6
Names
—
Lists

Codes

FormatValue
HEX#a6cb2f
RGBrgb(166 203 47)
HSLhsl(74.23 62.4% 49.02%)
OKLCHoklch(0.79 0.18 122.6)
CMYKcmyk(18.23% 0% 76.85% 20.39%)
Android#ffa6cb2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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