#5a7960 ≈ Viridian
#5a7960 is a color from the green family, with medium lightness and muted saturation. In the RGB model it is made of 35.29% red, 47.45% green and 37.65% blue; printed in CMYK it uses 25.62% cyan, 0% magenta, 20.66% yellow and 52.55% black. Its hue angle is 131.61°, with 14.69% saturation and 41.37% 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 brand accents. White text on this color reaches a contrast ratio of 4.84:1 (WCAG AA). The closest named color is Viridian (#40826d), ΔE 7.36.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1669 |
Shades
#5a7960 mixed progressively with black.
Tints
#5a7960 mixed progressively with white.
Tones
#5a7960 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a7960 {
color: #5a7960;
}
.bg-5a7960 {
background-color: #5a7960;
color: #ffffff;
}
.border-5a7960 {
border: 2px solid #5a7960;
}
:root {
--color-primary: #5a7960;
--color-primary-rgb: 90 121 96;
--color-primary-hsl: 132 15% 41%;
}
.gradient-5a7960 {
background: linear-gradient(135deg, #5a7960, #5a796f);
}
.shadow-5a7960 {
box-shadow: 0 8px 24px rgb(90 121 96 / 0.35);
}
Viridian
#5a7960 rgb(90, 121, 96) hsl(132, 15%, 41%) Viridian
#795a73 rgb(121, 90, 115) hsl(312, 15%, 41%) Old Lavender
#605a79 rgb(96, 90, 121) hsl(252, 15%, 41%) Old Lavender
#79605a rgb(121, 96, 90) hsl(12, 15%, 41%) Wenge