#4c8a0c ≈ Avocado
#4c8a0c is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 29.8% red, 54.12% green and 4.71% blue; printed in CMYK it uses 44.93% cyan, 0% magenta, 91.3% yellow and 45.88% black. Its hue angle is 89.52°, with 84% saturation and 29.41% 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 4.95:1 (WCAG AA). The closest named color is Avocado (#568203), ΔE 3.62.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #339900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1974 |
Shades
#4c8a0c mixed progressively with black.
Tints
#4c8a0c mixed progressively with white.
Tones
#4c8a0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4c8a0c {
color: #4c8a0c;
}
.bg-4c8a0c {
background-color: #4c8a0c;
color: #000000;
}
.border-4c8a0c {
border: 2px solid #4c8a0c;
}
:root {
--color-primary: #4c8a0c;
--color-primary-rgb: 76 138 12;
--color-primary-hsl: 90 84% 29%;
}
.gradient-4c8a0c {
background: linear-gradient(135deg, #4c8a0c, #0d8a0c);
}
.shadow-4c8a0c {
box-shadow: 0 8px 24px rgb(76 138 12 / 0.35);
}
Avocado
#4c8a0c rgb(76, 138, 12) hsl(90, 84%, 29%) Avocado
#4a0c8a rgb(74, 12, 138) hsl(270, 84%, 29%) Indigo
#0c4c8a rgb(12, 76, 138) hsl(210, 84%, 29%) Yale Blue
#8a0c4c rgb(138, 12, 76) hsl(330, 84%, 29%) Pansy Purple