#9ba030
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 | #9ba030 | |
| RGB | rgb(155 160 48) | |
| HSL | hsl(62.68 53.85% 40.78%) | |
| OKLCH | oklch(0.68 0.13 111.94) | |
| CMYK | cmyk(3.13% 0% 70% 37.25%) | |
| Android | #ff9ba030 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.46: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="#9ba030"
Gradient stop
<stop stop-color="#9ba030"/>
CSS variable + fill
:root { --c: #9ba030; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #9ba030; background-color: #9ba030; bg-[#9ba030]