#7E8342 - Drab
Hex color #7E8342 is called Drab. It consists of 49% red, 51% green, and 26% blue in RGB color space. In CMYK it is 4% cyan, 0% magenta, 50% yellow, and 49% black. In HSL it is 65° hue, 33% saturation, and 39% 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 | #7E8342 | #7E8342 |
| HEXA | #7E8342FF | #7E8342FF |
| RGB | 126, 131, 66 | rgb(126, 131, 66) |
| RGBA | 126, 131, 66, 1 | rgba(126, 131, 66, 1) |
| HSL | 65%, 33%, 39% | hsl(65%, 33%, 39%) |
| CMYK | 4%, 0%, 50%, 49% | cmyk(4%, 0%, 50%, 49%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 39% (dark) | — |
Negative color
The color opposite to #7E8342 is #817CBD.
Preview on black and white
As #7E8342 has 39% lightness, this color is dark, so it has more contrast with white.
#7E8342 On White Background
#7E8342
#7E8342
Text Color
This is how text looks with this color.
#7E8342 On Black Background
#7E8342
#7E8342
Text Color
This is how text looks with this color.
Transform color
126, 131, 66rgb(126, 131, 66)