Skip to content
Vectorlight.net

#a6bf2f

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

HEX
#a6bf2f
RGB
166, 191, 47
HSL
70.42°, 60.5%, 46.67%
OKLCH
0.76 0.16 119.27
Names
—
Lists

Codes

FormatValue
HEX#a6bf2f
RGBrgb(166 191 47)
HSLhsl(70.42 60.5% 46.67%)
OKLCHoklch(0.76 0.16 119.27)
CMYKcmyk(13.09% 0% 75.39% 25.1%)
Android#ffa6bf2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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