#18752f
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 | #18752f | |
| RGB | rgb(24 117 47) | |
| HSL | hsl(134.84 65.96% 27.65%) | |
| OKLCH | oklch(0.49 0.13 147.1) | |
| CMYK | cmyk(79.49% 0% 59.83% 54.12%) | |
| Android | #ff18752f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.62: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="#18752f"
Gradient stop
<stop stop-color="#18752f"/>
CSS variable + fill
:root { --c: #18752f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #18752f; background-color: #18752f; bg-[#18752f]