#ab7228
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 | #ab7228 | |
| RGB | rgb(171 114 40) | |
| HSL | hsl(33.89 62.09% 41.37%) | |
| OKLCH | oklch(0.6 0.11 69.01) | |
| CMYK | cmyk(0% 33.33% 76.61% 32.94%) | |
| Android | #ffab7228 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#ab7228"
Gradient stop
<stop stop-color="#ab7228"/>
CSS variable + fill
:root { --c: #ab7228; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab7228; background-color: #ab7228; bg-[#ab7228]