#7fc540
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 | #7fc540 | |
| RGB | rgb(127 197 64) | |
| HSL | hsl(91.58 53.41% 51.18%) | |
| OKLCH | oklch(0.75 0.18 133.07) | |
| CMYK | cmyk(35.53% 0% 67.51% 22.75%) | |
| Android | #ff7fc540 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.10:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.96: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="#7fc540"
Gradient stop
<stop stop-color="#7fc540"/>
CSS variable + fill
:root { --c: #7fc540; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7fc540; background-color: #7fc540; bg-[#7fc540]