Skip to content
Vectorlight.net

#acc371

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

HEX
#acc371
RGB
172, 195, 113
HSL
76.83°, 40.59%, 60.39%
OKLCH
0.78 0.11 121.8
Names
—
Lists

Codes

FormatValue
HEX#acc371
RGBrgb(172 195 113)
HSLhsl(76.83 40.59% 60.39%)
OKLCHoklch(0.78 0.11 121.8)
CMYKcmyk(11.79% 0% 42.05% 23.53%)
Android#ffacc371

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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