#786b08 ≈ Olive
#786b08 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 3.14% blue; printed in CMYK it uses 0% cyan, 10.83% magenta, 93.33% yellow and 52.94% black. Its hue angle is 53.04°, with 87.5% saturation and 25.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 luxury branding. White text on this color reaches a contrast ratio of 5.38:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.43.
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.1453 |
Shades
#786b08 mixed progressively with black.
Tints
#786b08 mixed progressively with white.
Tones
#786b08 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786b08 {
color: #786b08;
}
.bg-786b08 {
background-color: #786b08;
color: #ffffff;
}
.border-786b08 {
border: 2px solid #786b08;
}
:root {
--color-primary: #786b08;
--color-primary-rgb: 120 107 8;
--color-primary-hsl: 53 88% 25%;
}
.gradient-786b08 {
background: linear-gradient(135deg, #786b08, #4d7808);
}
.shadow-786b08 {
box-shadow: 0 8px 24px rgb(120 107 8 / 0.35);
}
Olive
#786b08 rgb(120, 107, 8) hsl(53, 88%, 25%) Olive
#081578 rgb(8, 21, 120) hsl(233, 88%, 25%) Midnight Blue
#08786b rgb(8, 120, 107) hsl(173, 88%, 25%) Pine Green
#6b0878 rgb(107, 8, 120) hsl(293, 88%, 25%) Purple