Skip to content
Vectorlight.net

#acc340

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

HEX
#acc340
RGB
172, 195, 64
HSL
70.53°, 52.19%, 50.78%
OKLCH
0.78 0.16 118.77
Names
—
Lists

Codes

FormatValue
HEX#acc340
RGBrgb(172 195 64)
HSLhsl(70.53 52.19% 50.78%)
OKLCHoklch(0.78 0.16 118.77)
CMYKcmyk(11.79% 0% 67.18% 23.53%)
Android#ffacc340

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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