#126d52
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 | #126d52 | |
| RGB | rgb(18 109 82) | |
| HSL | hsl(162.2 71.65% 24.9%) | |
| OKLCH | oklch(0.48 0.09 167.21) | |
| CMYK | cmyk(83.49% 0% 24.77% 57.25%) | |
| Android | #ff126d52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#126d52"
Gradient stop
<stop stop-color="#126d52"/>
CSS variable + fill
:root { --c: #126d52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #126d52; background-color: #126d52; bg-[#126d52]