#3a7948
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 | #3a7948 | |
| RGB | rgb(58 121 72) | |
| HSL | hsl(133.33 35.2% 35.1%) | |
| OKLCH | oklch(0.52 0.1 149.08) | |
| CMYK | cmyk(52.07% 0% 40.5% 52.55%) | |
| Android | #ff3a7948 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00: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="#3a7948"
Gradient stop
<stop stop-color="#3a7948"/>
CSS variable + fill
:root { --c: #3a7948; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3a7948; background-color: #3a7948; bg-[#3a7948]