#a2b487
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 | #a2b487 | |
| RGB | rgb(162 180 135) | |
| HSL | hsl(84 23.08% 61.76%) | |
| OKLCH | oklch(0.74 0.07 125.66) | |
| CMYK | cmyk(10% 0% 25% 29.41%) | |
| Android | #ffa2b487 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.41: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="#a2b487"
Gradient stop
<stop stop-color="#a2b487"/>
CSS variable + fill
:root { --c: #a2b487; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2b487; background-color: #a2b487; bg-[#a2b487]