Skip to content
Vectorlight.net

#a5bc12

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

HEX
#a5bc12
RGB
165, 188, 18
HSL
68.12°, 82.52%, 40.39%
OKLCH
0.75 0.17 118.29
Names
—
Lists

Codes

FormatValue
HEX#a5bc12
RGBrgb(165 188 18)
HSLhsl(68.12 82.52% 40.39%)
OKLCHoklch(0.75 0.17 118.29)
CMYKcmyk(12.23% 0% 90.43% 26.27%)
Android#ffa5bc12

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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