#45e138
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 | #45e138 | |
| RGB | rgb(69 225 56) | |
| HSL | hsl(115.38 73.8% 55.1%) | |
| OKLCH | oklch(0.8 0.24 142.01) | |
| CMYK | cmyk(69.33% 0% 75.11% 11.76%) | |
| Android | #ff45e138 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.73:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.08: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="#45e138"
Gradient stop
<stop stop-color="#45e138"/>
CSS variable + fill
:root { --c: #45e138; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #45e138; background-color: #45e138; bg-[#45e138]