#786c22 ≈ Olive
#786c22 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 42.35% green and 13.33% blue; printed in CMYK it uses 0% cyan, 10% magenta, 71.67% yellow and 52.94% black. Its hue angle is 51.63°, with 55.84% saturation and 30.2% 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 corporate identities. White text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 9.03.
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.1483 |
Shades
#786c22 mixed progressively with black.
Tints
#786c22 mixed progressively with white.
Tones
#786c22 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786c22 {
color: #786c22;
}
.bg-786c22 {
background-color: #786c22;
color: #ffffff;
}
.border-786c22 {
border: 2px solid #786c22;
}
:root {
--color-primary: #786c22;
--color-primary-rgb: 120 108 34;
--color-primary-hsl: 52 56% 30%;
}
.gradient-786c22 {
background: linear-gradient(135deg, #786c22, #597822);
}
.shadow-786c22 {
box-shadow: 0 8px 24px rgb(120 108 34 / 0.35);
}
Olive
#786c22 rgb(120, 108, 34) hsl(52, 56%, 30%) Olive
#222e78 rgb(34, 46, 120) hsl(232, 56%, 30%) Smalt
#22786c rgb(34, 120, 108) hsl(172, 56%, 30%) Pine Green
#6c2278 rgb(108, 34, 120) hsl(292, 56%, 30%) Eminence