#2f823f
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 | #2f823f | |
| RGB | rgb(47 130 63) | |
| HSL | hsl(131.57 46.89% 34.71%) | |
| OKLCH | oklch(0.54 0.13 147.19) | |
| CMYK | cmyk(63.85% 0% 51.54% 49.02%) | |
| Android | #ff2f823f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.38:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#2f823f"
Gradient stop
<stop stop-color="#2f823f"/>
CSS variable + fill
:root { --c: #2f823f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f823f; background-color: #2f823f; bg-[#2f823f]