#abb312
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 | #abb312 | |
| RGB | rgb(171 179 18) | |
| HSL | hsl(62.98 81.73% 38.63%) | |
| OKLCH | oklch(0.74 0.16 112.97) | |
| CMYK | cmyk(4.47% 0% 89.94% 29.8%) | |
| Android | #ffabb312 |
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.18: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="#abb312"
Gradient stop
<stop stop-color="#abb312"/>
CSS variable + fill
:root { --c: #abb312; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #abb312; background-color: #abb312; bg-[#abb312]