#498221
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 | #498221 | |
| RGB | rgb(73 130 33) | |
| HSL | hsl(95.26 59.51% 31.96%) | |
| OKLCH | oklch(0.55 0.14 135.26) | |
| CMYK | cmyk(43.85% 0% 74.62% 49.02%) | |
| Android | #ff498221 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.49:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#498221"
Gradient stop
<stop stop-color="#498221"/>
CSS variable + fill
:root { --c: #498221; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #498221; background-color: #498221; bg-[#498221]