#796f08 ≈ Olive
#796f08 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 3.14% blue; printed in CMYK it uses 0% cyan, 8.26% magenta, 93.39% yellow and 52.55% black. Its hue angle is 54.69°, with 87.6% saturation and 25.29% 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.13:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.76.
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.1545 |
Shades
#796f08 mixed progressively with black.
Tints
#796f08 mixed progressively with white.
Tones
#796f08 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-796f08 {
color: #796f08;
}
.bg-796f08 {
background-color: #796f08;
color: #ffffff;
}
.border-796f08 {
border: 2px solid #796f08;
}
:root {
--color-primary: #796f08;
--color-primary-rgb: 121 111 8;
--color-primary-hsl: 55 88% 25%;
}
.gradient-796f08 {
background: linear-gradient(135deg, #796f08, #4a7908);
}
.shadow-796f08 {
box-shadow: 0 8px 24px rgb(121 111 8 / 0.35);
}
Olive
#796f08 rgb(121, 111, 8) hsl(55, 88%, 25%) Olive
#081279 rgb(8, 18, 121) hsl(235, 88%, 25%) Phthalo Blue
#08796f rgb(8, 121, 111) hsl(175, 88%, 25%) Pine Green
#6f0879 rgb(111, 8, 121) hsl(295, 88%, 25%) Purple