#8b7e2e ≈ Olive
#8b7e2e is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.51% red, 49.41% green and 18.04% blue; printed in CMYK it uses 0% cyan, 9.35% magenta, 66.91% yellow and 45.49% black. Its hue angle is 51.61°, with 50.27% saturation and 36.27% 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 5.12:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.6.
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.2061 |
Shades
#8b7e2e mixed progressively with black.
Tints
#8b7e2e mixed progressively with white.
Tones
#8b7e2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8b7e2e {
color: #8b7e2e;
}
.bg-8b7e2e {
background-color: #8b7e2e;
color: #000000;
}
.border-8b7e2e {
border: 2px solid #8b7e2e;
}
:root {
--color-primary: #8b7e2e;
--color-primary-rgb: 139 126 46;
--color-primary-hsl: 52 50% 36%;
}
.gradient-8b7e2e {
background: linear-gradient(135deg, #8b7e2e, #698b2e);
}
.shadow-8b7e2e {
box-shadow: 0 8px 24px rgb(139 126 46 / 0.35);
}
Olive
#8b7e2e rgb(139, 126, 46) hsl(52, 50%, 36%) Olive
#2e3b8b rgb(46, 59, 139) hsl(232, 50%, 36%) Smalt
#2e8b7e rgb(46, 139, 126) hsl(172, 50%, 36%) Viridian
#7e2e8b rgb(126, 46, 139) hsl(292, 50%, 36%) Eminence