#2fa797
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 | #2fa797 | |
| RGB | rgb(47 167 151) | |
| HSL | hsl(172 56.07% 41.96%) | |
| OKLCH | oklch(0.66 0.11 182.06) | |
| CMYK | cmyk(71.86% 0% 9.58% 34.51%) | |
| Android | #ff2fa797 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.95:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.09: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="#2fa797"
Gradient stop
<stop stop-color="#2fa797"/>
CSS variable + fill
:root { --c: #2fa797; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2fa797; background-color: #2fa797; bg-[#2fa797]