#124504
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 | #124504 | |
| RGB | rgb(18 69 4) | |
| HSL | hsl(107.08 89.04% 14.31%) | |
| OKLCH | oklch(0.34 0.11 140.15) | |
| CMYK | cmyk(73.91% 0% 94.2% 72.94%) | |
| Android | #ff124504 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.87: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="#124504"
Gradient stop
<stop stop-color="#124504"/>
CSS variable + fill
:root { --c: #124504; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #124504; background-color: #124504; bg-[#124504]