#81ac2f
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #81ac2f | |
| RGB | rgb(129 172 47) | |
| HSL | hsl(80.64 57.08% 42.94%) | |
| OKLCH | oklch(0.69 0.16 126.88) | |
| CMYK | cmyk(25% 0% 72.67% 32.55%) | |
| Android | #ff81ac2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.66:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.87:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#81ac2f"
Gradient stop
<stop stop-color="#81ac2f"/>
CSS variable + fill
:root { --c: #81ac2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #81ac2f; background-color: #81ac2f; bg-[#81ac2f]