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