#a1be40
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 | #a1be40 | |
| RGB | rgb(161 190 64) | |
| HSL | hsl(73.81 49.61% 49.8%) | |
| OKLCH | oklch(0.76 0.15 121.34) | |
| CMYK | cmyk(15.26% 0% 66.32% 25.49%) | |
| Android | #ffa1be40 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.10:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.95: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="#a1be40"
Gradient stop
<stop stop-color="#a1be40"/>
CSS variable + fill
:root { --c: #a1be40; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a1be40; background-color: #a1be40; bg-[#a1be40]