#786f2a ≈ Olive
#786f2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 7.5% magenta, 65% yellow and 52.94% black. Its hue angle is 53.08°, with 48.15% saturation and 31.76% 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.11:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.51.
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.1553 |
Shades
#786f2a mixed progressively with black.
Tints
#786f2a mixed progressively with white.
Tones
#786f2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786f2a {
color: #786f2a;
}
.bg-786f2a {
background-color: #786f2a;
color: #ffffff;
}
.border-786f2a {
border: 2px solid #786f2a;
}
:root {
--color-primary: #786f2a;
--color-primary-rgb: 120 111 42;
--color-primary-hsl: 53 48% 32%;
}
.gradient-786f2a {
background: linear-gradient(135deg, #786f2a, #5a782a);
}
.shadow-786f2a {
box-shadow: 0 8px 24px rgb(120 111 42 / 0.35);
}
Olive
#786f2a rgb(120, 111, 42) hsl(53, 48%, 32%) Olive
#2a3378 rgb(42, 51, 120) hsl(233, 48%, 32%) Smalt
#2a786f rgb(42, 120, 111) hsl(173, 48%, 32%) Myrtle Green
#6f2a78 rgb(111, 42, 120) hsl(293, 48%, 32%) Eminence