#124f0a
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 | #124f0a | |
| RGB | rgb(18 79 10) | |
| HSL | hsl(113.04 77.53% 17.45%) | |
| OKLCH | oklch(0.37 0.12 141.56) | |
| CMYK | cmyk(77.22% 0% 87.34% 69.02%) | |
| Android | #ff124f0a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.14: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="#124f0a"
Gradient stop
<stop stop-color="#124f0a"/>
CSS variable + fill
:root { --c: #124f0a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #124f0a; background-color: #124f0a; bg-[#124f0a]