#abba2b
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 | #abba2b | |
| RGB | rgb(171 186 43) | |
| HSL | hsl(66.29 62.45% 44.9%) | |
| OKLCH | oklch(0.75 0.16 115.67) | |
| CMYK | cmyk(8.06% 0% 76.88% 27.06%) | |
| Android | #ffabba2b |
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.79: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="#abba2b"
Gradient stop
<stop stop-color="#abba2b"/>
CSS variable + fill
:root { --c: #abba2b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #abba2b; background-color: #abba2b; bg-[#abba2b]