#768f2f
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 | #768f2f | |
| RGB | rgb(118 143 47) | |
| HSL | hsl(75.63 50.53% 37.25%) | |
| OKLCH | oklch(0.61 0.13 122.68) | |
| CMYK | cmyk(17.48% 0% 67.13% 43.92%) | |
| Android | #ff768f2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74: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="#768f2f"
Gradient stop
<stop stop-color="#768f2f"/>
CSS variable + fill
:root { --c: #768f2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #768f2f; background-color: #768f2f; bg-[#768f2f]