#4e7d12 ≈ Avocado
#4e7d12 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 30.59% red, 49.02% green and 7.06% blue; printed in CMYK it uses 37.6% cyan, 0% magenta, 85.6% yellow and 50.98% black. Its hue angle is 86.36°, with 74.83% saturation and 28.04% 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. White text on this color reaches a contrast ratio of 4.92:1 (WCAG AA). The closest named color is Avocado (#568203), ΔE 2.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666600 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1633 |
Shades
#4e7d12 mixed progressively with black.
Tints
#4e7d12 mixed progressively with white.
Tones
#4e7d12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e7d12 {
color: #4e7d12;
}
.bg-4e7d12 {
background-color: #4e7d12;
color: #ffffff;
}
.border-4e7d12 {
border: 2px solid #4e7d12;
}
:root {
--color-primary: #4e7d12;
--color-primary-rgb: 78 125 18;
--color-primary-hsl: 86 75% 28%;
}
.gradient-4e7d12 {
background: linear-gradient(135deg, #4e7d12, #187d12);
}
.shadow-4e7d12 {
box-shadow: 0 8px 24px rgb(78 125 18 / 0.35);
}
Avocado
#4e7d12 rgb(78, 125, 18) hsl(86, 75%, 28%) Avocado
#41127d rgb(65, 18, 125) hsl(266, 75%, 28%) Persian Indigo
#124e7d rgb(18, 78, 125) hsl(206, 75%, 28%) Yale Blue
#7d124e rgb(125, 18, 78) hsl(326, 75%, 28%) Pansy Purple