#8b791a ≈ Olive
#8b791a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.51% red, 47.45% green and 10.2% blue; printed in CMYK it uses 0% cyan, 12.95% magenta, 81.29% yellow and 45.49% black. Its hue angle is 50.44°, with 68.48% saturation and 32.35% 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.85:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1924 |
Shades
#8b791a mixed progressively with black.
Tints
#8b791a mixed progressively with white.
Tones
#8b791a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8b791a {
color: #8b791a;
}
.bg-8b791a {
background-color: #8b791a;
color: #000000;
}
.border-8b791a {
border: 2px solid #8b791a;
}
:root {
--color-primary: #8b791a;
--color-primary-rgb: 139 121 26;
--color-primary-hsl: 50 68% 32%;
}
.gradient-8b791a {
background: linear-gradient(135deg, #8b791a, #648b1a);
}
.shadow-8b791a {
box-shadow: 0 8px 24px rgb(139 121 26 / 0.35);
}
Olive
#8b791a rgb(139, 121, 26) hsl(50, 68%, 32%) Olive
#1a2c8b rgb(26, 44, 139) hsl(230, 68%, 32%) Imperial Blue
#1a8b79 rgb(26, 139, 121) hsl(170, 68%, 32%) Viridian
#791a8b rgb(121, 26, 139) hsl(290, 68%, 32%) Purple