#786b12 ≈ Olive
#786b12 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 41.96% green and 7.06% blue; printed in CMYK it uses 0% cyan, 10.83% magenta, 85% yellow and 52.94% black. Its hue angle is 52.35°, with 73.91% saturation and 27.06% 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.37:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.64.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666600 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1455 |
Shades
#786b12 mixed progressively with black.
Tints
#786b12 mixed progressively with white.
Tones
#786b12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786b12 {
color: #786b12;
}
.bg-786b12 {
background-color: #786b12;
color: #ffffff;
}
.border-786b12 {
border: 2px solid #786b12;
}
:root {
--color-primary: #786b12;
--color-primary-rgb: 120 107 18;
--color-primary-hsl: 52 74% 27%;
}
.gradient-786b12 {
background: linear-gradient(135deg, #786b12, #527812);
}
.shadow-786b12 {
box-shadow: 0 8px 24px rgb(120 107 18 / 0.35);
}
Olive
#786b12 rgb(120, 107, 18) hsl(52, 74%, 27%) Olive
#121f78 rgb(18, 31, 120) hsl(232, 74%, 27%) Midnight Blue
#12786b rgb(18, 120, 107) hsl(172, 74%, 27%) Pine Green
#6b1278 rgb(107, 18, 120) hsl(292, 74%, 27%) Purple