#6e970c
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 | #6e970c | |
| RGB | rgb(110 151 12) | |
| HSL | hsl(77.7 85.28% 31.96%) | |
| OKLCH | oklch(0.62 0.16 126.7) | |
| CMYK | cmyk(27.15% 0% 92.05% 40.78%) | |
| Android | #ff6e970c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.44:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.09: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="#6e970c"
Gradient stop
<stop stop-color="#6e970c"/>
CSS variable + fill
:root { --c: #6e970c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6e970c; background-color: #6e970c; bg-[#6e970c]