#348f40
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 | #348f40 | |
| RGB | rgb(52 143 64) | |
| HSL | hsl(127.91 46.67% 38.24%) | |
| OKLCH | oklch(0.58 0.14 145.73) | |
| CMYK | cmyk(63.64% 0% 55.24% 43.92%) | |
| Android | #ff348f40 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.14: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="#348f40"
Gradient stop
<stop stop-color="#348f40"/>
CSS variable + fill
:root { --c: #348f40; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #348f40; background-color: #348f40; bg-[#348f40]