#1fa425
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 | #1fa425 | |
| RGB | rgb(31 164 37) | |
| HSL | hsl(122.71 68.21% 38.24%) | |
| OKLCH | oklch(0.63 0.2 143.22) | |
| CMYK | cmyk(81.1% 0% 77.44% 35.69%) | |
| Android | #ff1fa425 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.39: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="#1fa425"
Gradient stop
<stop stop-color="#1fa425"/>
CSS variable + fill
:root { --c: #1fa425; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1fa425; background-color: #1fa425; bg-[#1fa425]