#1c8a2f
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 | #1c8a2f | |
| RGB | rgb(28 138 47) | |
| HSL | hsl(130.36 66.27% 32.55%) | |
| OKLCH | oklch(0.55 0.16 145.33) | |
| CMYK | cmyk(79.71% 0% 65.94% 45.88%) | |
| Android | #ff1c8a2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.44:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.72: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="#1c8a2f"
Gradient stop
<stop stop-color="#1c8a2f"/>
CSS variable + fill
:root { --c: #1c8a2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1c8a2f; background-color: #1c8a2f; bg-[#1c8a2f]