#786f19 ≈ Olive
#786f19 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.53% green and 9.8% blue; printed in CMYK it uses 0% cyan, 7.5% magenta, 79.17% yellow and 52.94% black. Its hue angle is 54.32°, with 65.52% saturation and 28.43% 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.14:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.18.
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.1543 |
Shades
#786f19 mixed progressively with black.
Tints
#786f19 mixed progressively with white.
Tones
#786f19 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786f19 {
color: #786f19;
}
.bg-786f19 {
background-color: #786f19;
color: #ffffff;
}
.border-786f19 {
border: 2px solid #786f19;
}
:root {
--color-primary: #786f19;
--color-primary-rgb: 120 111 25;
--color-primary-hsl: 54 66% 28%;
}
.gradient-786f19 {
background: linear-gradient(135deg, #786f19, #517819);
}
.shadow-786f19 {
box-shadow: 0 8px 24px rgb(120 111 25 / 0.35);
}
Olive
#786f19 rgb(120, 111, 25) hsl(54, 66%, 28%) Olive
#192278 rgb(25, 34, 120) hsl(234, 66%, 28%) Midnight Blue
#19786f rgb(25, 120, 111) hsl(174, 66%, 28%) Pine Green
#6f1978 rgb(111, 25, 120) hsl(294, 66%, 28%) Purple