#398049
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 | #398049 | |
| RGB | rgb(57 128 73) | |
| HSL | hsl(133.52 38.38% 36.27%) | |
| OKLCH | oklch(0.54 0.11 148.84) | |
| CMYK | cmyk(55.47% 0% 42.97% 49.8%) | |
| Android | #ff398049 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.35: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="#398049"
Gradient stop
<stop stop-color="#398049"/>
CSS variable + fill
:root { --c: #398049; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #398049; background-color: #398049; bg-[#398049]