#796f19 ≈ Olive
#796f19 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 43.53% green and 9.8% blue; printed in CMYK it uses 0% cyan, 8.26% magenta, 79.34% yellow and 52.55% black. Its hue angle is 53.75°, with 65.75% saturation and 28.63% 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.12:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.23.
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.155 |
Shades
#796f19 mixed progressively with black.
Tints
#796f19 mixed progressively with white.
Tones
#796f19 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-796f19 {
color: #796f19;
}
.bg-796f19 {
background-color: #796f19;
color: #ffffff;
}
.border-796f19 {
border: 2px solid #796f19;
}
:root {
--color-primary: #796f19;
--color-primary-rgb: 121 111 25;
--color-primary-hsl: 54 66% 29%;
}
.gradient-796f19 {
background: linear-gradient(135deg, #796f19, #537919);
}
.shadow-796f19 {
box-shadow: 0 8px 24px rgb(121 111 25 / 0.35);
}
Olive
#796f19 rgb(121, 111, 25) hsl(54, 66%, 29%) Olive
#192379 rgb(25, 35, 121) hsl(234, 66%, 29%) Midnight Blue
#19796f rgb(25, 121, 111) hsl(174, 66%, 29%) Pine Green
#6f1979 rgb(111, 25, 121) hsl(294, 66%, 29%) Purple