#126e45
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 | #126e45 | |
| RGB | rgb(18 110 69) | |
| HSL | hsl(153.26 71.88% 25.1%) | |
| OKLCH | oklch(0.48 0.11 157.86) | |
| CMYK | cmyk(83.64% 0% 37.27% 56.86%) | |
| Android | #ff126e45 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34:1
Fail AA normal text
Pass 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="#126e45"
Gradient stop
<stop stop-color="#126e45"/>
CSS variable + fill
:root { --c: #126e45; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #126e45; background-color: #126e45; bg-[#126e45]