#796e20 ≈ Olive
#796e20 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.14% green and 12.55% blue; printed in CMYK it uses 0% cyan, 9.09% magenta, 73.55% yellow and 52.55% black. Its hue angle is 52.58°, with 58.17% saturation and 30% 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.17:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.08.
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.1532 |
Shades
#796e20 mixed progressively with black.
Tints
#796e20 mixed progressively with white.
Tones
#796e20 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-796e20 {
color: #796e20;
}
.bg-796e20 {
background-color: #796e20;
color: #ffffff;
}
.border-796e20 {
border: 2px solid #796e20;
}
:root {
--color-primary: #796e20;
--color-primary-rgb: 121 110 32;
--color-primary-hsl: 53 58% 30%;
}
.gradient-796e20 {
background: linear-gradient(135deg, #796e20, #587920);
}
.shadow-796e20 {
box-shadow: 0 8px 24px rgb(121 110 32 / 0.35);
}
Olive
#796e20 rgb(121, 110, 32) hsl(53, 58%, 30%) Olive
#202b79 rgb(32, 43, 121) hsl(233, 58%, 30%) Midnight Blue
#20796e rgb(32, 121, 110) hsl(173, 58%, 30%) Pine Green
#6e2079 rgb(110, 32, 121) hsl(293, 58%, 30%) Eminence