#97a431
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 | #97a431 | |
| RGB | rgb(151 164 49) | |
| HSL | hsl(66.78 53.99% 41.76%) | |
| OKLCH | oklch(0.69 0.14 115.69) | |
| CMYK | cmyk(7.93% 0% 70.12% 35.69%) | |
| Android | #ff97a431 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.67: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="#97a431"
Gradient stop
<stop stop-color="#97a431"/>
CSS variable + fill
:root { --c: #97a431; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #97a431; background-color: #97a431; bg-[#97a431]