#28915f
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 | #28915f | |
| RGB | rgb(40 145 95) | |
| HSL | hsl(151.43 56.76% 36.27%) | |
| OKLCH | oklch(0.58 0.12 157.85) | |
| CMYK | cmyk(72.41% 0% 34.48% 43.14%) | |
| Android | #ff28915f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.95:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.30: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="#28915f"
Gradient stop
<stop stop-color="#28915f"/>
CSS variable + fill
:root { --c: #28915f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #28915f; background-color: #28915f; bg-[#28915f]