#31712e ≈ Fern Green
#31712e is a color from the green family, with low lightness and moderate saturation. In the RGB model it is made of 19.22% red, 44.31% green and 18.04% blue; printed in CMYK it uses 56.64% cyan, 0% magenta, 59.29% yellow and 55.69% black. Its hue angle is 117.31°, with 42.14% saturation and 31.18% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. White text on this color reaches a contrast ratio of 5.95:1 (WCAG AA). The closest named color is Fern Green (#4f7942), ΔE 5.59.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1266 |
Shades
#31712e mixed progressively with black.
Tints
#31712e mixed progressively with white.
Tones
#31712e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31712e {
color: #31712e;
}
.bg-31712e {
background-color: #31712e;
color: #ffffff;
}
.border-31712e {
border: 2px solid #31712e;
}
:root {
--color-primary: #31712e;
--color-primary-rgb: 49 113 46;
--color-primary-hsl: 117 42% 31%;
}
.gradient-31712e {
background: linear-gradient(135deg, #31712e, #2e714d);
}
.shadow-31712e {
box-shadow: 0 8px 24px rgb(49 113 46 / 0.35);
}
Fern Green
#31712e rgb(49, 113, 46) hsl(117, 42%, 31%) Fern Green
#6e2e71 rgb(110, 46, 113) hsl(297, 42%, 31%) Byzantium
#2e3171 rgb(46, 49, 113) hsl(237, 42%, 31%) Dark Slate Blue
#712e31 rgb(113, 46, 49) hsl(357, 42%, 31%) Wine