#7fc030
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 | #7fc030 | |
| RGB | rgb(127 192 48) | |
| HSL | hsl(87.08 60% 47.06%) | |
| OKLCH | oklch(0.74 0.18 131.26) | |
| CMYK | cmyk(33.85% 0% 75% 24.71%) | |
| Android | #ff7fc030 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.48: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="#7fc030"
Gradient stop
<stop stop-color="#7fc030"/>
CSS variable + fill
:root { --c: #7fc030; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7fc030; background-color: #7fc030; bg-[#7fc030]