#7f7c1a ≈ Olive
#7f7c1a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 49.8% red, 48.63% green and 10.2% blue; printed in CMYK it uses 0% cyan, 2.36% magenta, 79.53% yellow and 50.2% black. Its hue angle is 58.22°, with 66.01% saturation and 30% 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 corporate identities. Black text on this color reaches a contrast ratio of 4.8:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 2.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.19 |
Shades
#7f7c1a mixed progressively with black.
Tints
#7f7c1a mixed progressively with white.
Tones
#7f7c1a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f7c1a {
color: #7f7c1a;
}
.bg-7f7c1a {
background-color: #7f7c1a;
color: #000000;
}
.border-7f7c1a {
border: 2px solid #7f7c1a;
}
:root {
--color-primary: #7f7c1a;
--color-primary-rgb: 127 124 26;
--color-primary-hsl: 58 66% 30%;
}
.gradient-7f7c1a {
background: linear-gradient(135deg, #7f7c1a, #4f7f1a);
}
.shadow-7f7c1a {
box-shadow: 0 8px 24px rgb(127 124 26 / 0.35);
}
Olive
#7f7c1a rgb(127, 124, 26) hsl(58, 66%, 30%) Olive
#1a1d7f rgb(26, 29, 127) hsl(238, 66%, 30%) Midnight Blue
#1a7f7c rgb(26, 127, 124) hsl(178, 66%, 30%) Teal
#7c1a7f rgb(124, 26, 127) hsl(298, 66%, 30%) Purple