#786e1a ≈ Olive
#786e1a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 43.14% green and 10.2% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 78.33% yellow and 52.94% black. Its hue angle is 53.62°, with 64.38% saturation and 28.63% 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 luxury branding. White text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.65.
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.1522 |
Shades
#786e1a mixed progressively with black.
Tints
#786e1a mixed progressively with white.
Tones
#786e1a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786e1a {
color: #786e1a;
}
.bg-786e1a {
background-color: #786e1a;
color: #ffffff;
}
.border-786e1a {
border: 2px solid #786e1a;
}
:root {
--color-primary: #786e1a;
--color-primary-rgb: 120 110 26;
--color-primary-hsl: 54 64% 29%;
}
.gradient-786e1a {
background: linear-gradient(135deg, #786e1a, #53781a);
}
.shadow-786e1a {
box-shadow: 0 8px 24px rgb(120 110 26 / 0.35);
}
Olive
#786e1a rgb(120, 110, 26) hsl(54, 64%, 29%) Olive
#1a2478 rgb(26, 36, 120) hsl(234, 64%, 29%) Midnight Blue
#1a786e rgb(26, 120, 110) hsl(174, 64%, 29%) Pine Green
#6e1a78 rgb(110, 26, 120) hsl(294, 64%, 29%) Purple