#6fa158
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 | #6fa158 | |
| RGB | rgb(111 161 88) | |
| HSL | hsl(101.1 29.32% 48.82%) | |
| OKLCH | oklch(0.66 0.12 136.47) | |
| CMYK | cmyk(31.06% 0% 45.34% 36.86%) | |
| Android | #ff6fa158 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.91: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="#6fa158"
Gradient stop
<stop stop-color="#6fa158"/>
CSS variable + fill
:root { --c: #6fa158; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6fa158; background-color: #6fa158; bg-[#6fa158]