#287c42 ≈ Fern Green
#287c42 is a color from the green family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 48.63% green and 25.88% blue; printed in CMYK it uses 67.74% cyan, 0% magenta, 46.77% yellow and 51.37% black. Its hue angle is 138.57°, with 51.22% saturation and 32.16% 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.18:1 (WCAG AA). The closest named color is Fern Green (#4f7942), ΔE 5.83.
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.1526 |
Shades
#287c42 mixed progressively with black.
Tints
#287c42 mixed progressively with white.
Tones
#287c42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-287c42 {
color: #287c42;
}
.bg-287c42 {
background-color: #287c42;
color: #ffffff;
}
.border-287c42 {
border: 2px solid #287c42;
}
:root {
--color-primary: #287c42;
--color-primary-rgb: 40 124 66;
--color-primary-hsl: 139 51% 32%;
}
.gradient-287c42 {
background: linear-gradient(135deg, #287c42, #287c6c);
}
.shadow-287c42 {
box-shadow: 0 8px 24px rgb(40 124 66 / 0.35);
}
Fern Green
#287c42 rgb(40, 124, 66) hsl(139, 51%, 32%) Fern Green
#7c2862 rgb(124, 40, 98) hsl(319, 51%, 32%) Byzantium
#42287c rgb(66, 40, 124) hsl(259, 51%, 32%) Persian Indigo
#7c4228 rgb(124, 66, 40) hsl(19, 51%, 32%) Russet