#2fa075
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 | #2fa075 | |
| RGB | rgb(47 160 117) | |
| HSL | hsl(157.17 54.59% 40.59%) | |
| OKLCH | oklch(0.63 0.12 163.33) | |
| CMYK | cmyk(70.63% 0% 26.88% 37.25%) | |
| Android | #ff2fa075 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.27:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.40: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="#2fa075"
Gradient stop
<stop stop-color="#2fa075"/>
CSS variable + fill
:root { --c: #2fa075; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2fa075; background-color: #2fa075; bg-[#2fa075]