#7f7b4e ≈ Olive
#7f7b4e is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 49.8% red, 48.24% green and 30.59% blue; printed in CMYK it uses 0% cyan, 3.15% magenta, 38.58% yellow and 50.2% black. Its hue angle is 55.1°, with 23.9% saturation and 40.2% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 4.85:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 11.23.
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.1923 |
Shades
#7f7b4e mixed progressively with black.
Tints
#7f7b4e mixed progressively with white.
Tones
#7f7b4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f7b4e {
color: #7f7b4e;
}
.bg-7f7b4e {
background-color: #7f7b4e;
color: #000000;
}
.border-7f7b4e {
border: 2px solid #7f7b4e;
}
:root {
--color-primary: #7f7b4e;
--color-primary-rgb: 127 123 78;
--color-primary-hsl: 55 24% 40%;
}
.gradient-7f7b4e {
background: linear-gradient(135deg, #7f7b4e, #6b7f4e);
}
.shadow-7f7b4e {
box-shadow: 0 8px 24px rgb(127 123 78 / 0.35);
}
Olive
#7f7b4e rgb(127, 123, 78) hsl(55, 24%, 40%) Olive
#4e527f rgb(78, 82, 127) hsl(235, 24%, 40%) Dark Slate Blue
#4e7f7b rgb(78, 127, 123) hsl(175, 24%, 40%) Myrtle Green
#7b4e7f rgb(123, 78, 127) hsl(295, 24%, 40%) Deep Plum