#6fa72c
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 | #6fa72c | |
| RGB | rgb(111 167 44) | |
| HSL | hsl(87.32 58.29% 41.37%) | |
| OKLCH | oklch(0.67 0.16 131.19) | |
| CMYK | cmyk(33.53% 0% 73.65% 34.51%) | |
| Android | #ff6fa72c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.90:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.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="#6fa72c"
Gradient stop
<stop stop-color="#6fa72c"/>
CSS variable + fill
:root { --c: #6fa72c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6fa72c; background-color: #6fa72c; bg-[#6fa72c]