#398908
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 | #398908 | |
| RGB | rgb(57 137 8) | |
| HSL | hsl(97.21 88.97% 28.43%) | |
| OKLCH | oklch(0.56 0.17 137.85) | |
| CMYK | cmyk(58.39% 0% 94.16% 46.27%) | |
| Android | #ff398908 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.41:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.75: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="#398908"
Gradient stop
<stop stop-color="#398908"/>
CSS variable + fill
:root { --c: #398908; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #398908; background-color: #398908; bg-[#398908]