#0fa021
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 | #0fa021 | |
| RGB | rgb(15 160 33) | |
| HSL | hsl(127.45 82.86% 34.31%) | |
| OKLCH | oklch(0.61 0.2 143.69) | |
| CMYK | cmyk(90.63% 0% 79.38% 37.25%) | |
| Android | #ff0fa021 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.07: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="#0fa021"
Gradient stop
<stop stop-color="#0fa021"/>
CSS variable + fill
:root { --c: #0fa021; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #0fa021; background-color: #0fa021; bg-[#0fa021]