#2f9961
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 | #2f9961 | |
| RGB | rgb(47 153 97) | |
| HSL | hsl(148.3 53% 39.22%) | |
| OKLCH | oklch(0.61 0.13 155.84) | |
| CMYK | cmyk(69.28% 0% 36.6% 40%) | |
| Android | #ff2f9961 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.58:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.84: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="#2f9961"
Gradient stop
<stop stop-color="#2f9961"/>
CSS variable + fill
:root { --c: #2f9961; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f9961; background-color: #2f9961; bg-[#2f9961]