#1f9155
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 | #1f9155 | |
| RGB | rgb(31 145 85) | |
| HSL | hsl(148.42 64.77% 34.51%) | |
| OKLCH | oklch(0.58 0.13 154.49) | |
| CMYK | cmyk(78.62% 0% 41.38% 43.14%) | |
| Android | #ff1f9155 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.23: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="#1f9155"
Gradient stop
<stop stop-color="#1f9155"/>
CSS variable + fill
:root { --c: #1f9155; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1f9155; background-color: #1f9155; bg-[#1f9155]