#186e1f
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 | #186e1f | |
| RGB | rgb(24 110 31) | |
| HSL | hsl(124.88 64.18% 26.27%) | |
| OKLCH | oklch(0.47 0.14 143.98) | |
| CMYK | cmyk(78.18% 0% 71.82% 56.86%) | |
| Android | #ff186e1f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.38:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.28: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="#186e1f"
Gradient stop
<stop stop-color="#186e1f"/>
CSS variable + fill
:root { --c: #186e1f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #186e1f; background-color: #186e1f; bg-[#186e1f]