#508A42 - Fern
Hex color #508A42 is called Fern. It consists of 31% red, 54% green, and 26% blue in RGB color space. In CMYK it is 42% cyan, 0% magenta, 52% yellow, and 46% black. In HSL it is 108° hue, 35% saturation, and 40% 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 | Fern | — |
| HEX | #508A42 | #508A42 |
| HEXA | #508A42FF | #508A42FF |
| RGB | 80, 138, 66 | rgb(80, 138, 66) |
| RGBA | 80, 138, 66, 1 | rgba(80, 138, 66, 1) |
| HSL | 108%, 35%, 40% | hsl(108%, 35%, 40%) |
| CMYK | 42%, 0%, 52%, 46% | cmyk(42%, 0%, 52%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 40% (dark) | — |
Negative color
The color opposite to #508A42 is #AF75BD.
Preview on black and white
As #508A42 has 40% lightness, this color is dark, so it has more contrast with white.
#508A42 On White Background
#508A42
#508A42
Text Color
This is how text looks with this color.
#508A42 On Black Background
#508A42
#508A42
Text Color
This is how text looks with this color.
Transform color
80, 138, 66rgb(80, 138, 66)