#0f522c
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 | #0f522c | |
| RGB | rgb(15 82 44) | |
| HSL | hsl(145.97 69.07% 19.02%) | |
| OKLCH | oklch(0.39 0.09 153.13) | |
| CMYK | cmyk(81.71% 0% 46.34% 67.84%) | |
| Android | #ff0f522c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.26: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="#0f522c"
Gradient stop
<stop stop-color="#0f522c"/>
CSS variable + fill
:root { --c: #0f522c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0f522c; background-color: #0f522c; bg-[#0f522c]