#7F8140 - Drab
Hex color #7F8140 is called Drab. It consists of 50% red, 51% green, and 25% blue in RGB color space. In CMYK it is 2% cyan, 0% magenta, 50% yellow, and 49% black. In HSL it is 62° hue, 34% saturation, and 38% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Drab | — |
| HEX | #7F8140 | #7F8140 |
| HEXA | #7F8140FF | #7F8140FF |
| RGB | 127, 129, 64 | rgb(127, 129, 64) |
| RGBA | 127, 129, 64, 1 | rgba(127, 129, 64, 1) |
| HSL | 62%, 34%, 38% | hsl(62%, 34%, 38%) |
| CMYK | 2%, 0%, 50%, 49% | cmyk(2%, 0%, 50%, 49%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 38% (dark) | — |
Negative color
The color opposite to #7F8140 is #807EBF.
Preview on black and white
As #7F8140 has 38% lightness, this color is dark, so it has more contrast with white.
#7F8140 On White Background
#7F8140
#7F8140
Text Color
This is how text looks with this color.
#7F8140 On Black Background
#7F8140
#7F8140
Text Color
This is how text looks with this color.
Transform color
127, 129, 64rgb(127, 129, 64)