#5c8a02 ≈ Avocado
#5c8a02 is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 36.08% red, 54.12% green and 0.78% blue; printed in CMYK it uses 33.33% cyan, 0% magenta, 98.55% yellow and 45.88% black. Its hue angle is 80.29°, with 97.14% saturation and 27.45% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. Black text on this color reaches a contrast ratio of 5.09:1 (WCAG AA). The closest named color is Avocado (#568203), ΔE 3.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2046 |
Shades
#5c8a02 mixed progressively with black.
Tints
#5c8a02 mixed progressively with white.
Tones
#5c8a02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c8a02 {
color: #5c8a02;
}
.bg-5c8a02 {
background-color: #5c8a02;
color: #000000;
}
.border-5c8a02 {
border: 2px solid #5c8a02;
}
:root {
--color-primary: #5c8a02;
--color-primary-rgb: 92 138 2;
--color-primary-hsl: 80 97% 27%;
}
.gradient-5c8a02 {
background: linear-gradient(135deg, #5c8a02, #188a02);
}
.shadow-5c8a02 {
box-shadow: 0 8px 24px rgb(92 138 2 / 0.35);
}
Avocado
#5c8a02 rgb(92, 138, 2) hsl(80, 97%, 27%) Avocado
#30028a rgb(48, 2, 138) hsl(260, 97%, 27%) Persian Indigo
#025c8a rgb(2, 92, 138) hsl(200, 97%, 27%) Lapis Lazuli
#8a025c rgb(138, 2, 92) hsl(320, 97%, 27%) Pansy Purple