#a2b535
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 | #a2b535 | |
| RGB | rgb(162 181 53) | |
| HSL | hsl(68.91 54.7% 45.88%) | |
| OKLCH | oklch(0.73 0.15 117.62) | |
| CMYK | cmyk(10.5% 0% 70.72% 29.02%) | |
| Android | #ffa2b535 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.28:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.19: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="#a2b535"
Gradient stop
<stop stop-color="#a2b535"/>
CSS variable + fill
:root { --c: #a2b535; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a2b535; background-color: #a2b535; bg-[#a2b535]