#005a1c
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 | #005a1c | |
| RGB | rgb(0 90 28) | |
| HSL | hsl(138.67 100% 17.65%) | |
| OKLCH | oklch(0.41 0.12 146.85) | |
| CMYK | cmyk(100% 0% 68.89% 64.71%) | |
| Android | #ff005a1c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.47:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.47:1
Fail AA normal text
Fail 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="#005a1c"
Gradient stop
<stop stop-color="#005a1c"/>
CSS variable + fill
:root { --c: #005a1c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #005a1c; background-color: #005a1c; bg-[#005a1c]