#8b7828 ≈ Olive
#8b7828 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.06% green and 15.69% blue; printed in CMYK it uses 0% cyan, 13.67% magenta, 71.22% yellow and 45.49% black. Its hue angle is 48.48°, with 55.31% saturation and 35.1% 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.82:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.27.
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.1908 |
Shades
#8b7828 mixed progressively with black.
Tints
#8b7828 mixed progressively with white.
Tones
#8b7828 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8b7828 {
color: #8b7828;
}
.bg-8b7828 {
background-color: #8b7828;
color: #000000;
}
.border-8b7828 {
border: 2px solid #8b7828;
}
:root {
--color-primary: #8b7828;
--color-primary-rgb: 139 120 40;
--color-primary-hsl: 48 55% 35%;
}
.gradient-8b7828 {
background: linear-gradient(135deg, #8b7828, #6d8b28);
}
.shadow-8b7828 {
box-shadow: 0 8px 24px rgb(139 120 40 / 0.35);
}
Olive
#8b7828 rgb(139, 120, 40) hsl(48, 55%, 35%) Olive
#283b8b rgb(40, 59, 139) hsl(228, 55%, 35%) Smalt
#288b78 rgb(40, 139, 120) hsl(168, 55%, 35%) Viridian
#78288b rgb(120, 40, 139) hsl(288, 55%, 35%) Eminence