#796f04 ≈ Olive
#796f04 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 1.57% blue; printed in CMYK it uses 0% cyan, 8.26% magenta, 96.69% yellow and 52.55% black. Its hue angle is 54.87°, with 93.6% saturation and 24.51% 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.14:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.71.
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.1544 |
Shades
#796f04 mixed progressively with black.
Tints
#796f04 mixed progressively with white.
Tones
#796f04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-796f04 {
color: #796f04;
}
.bg-796f04 {
background-color: #796f04;
color: #ffffff;
}
.border-796f04 {
border: 2px solid #796f04;
}
:root {
--color-primary: #796f04;
--color-primary-rgb: 121 111 4;
--color-primary-hsl: 55 94% 25%;
}
.gradient-796f04 {
background: linear-gradient(135deg, #796f04, #497904);
}
.shadow-796f04 {
box-shadow: 0 8px 24px rgb(121 111 4 / 0.35);
}
Olive
#796f04 rgb(121, 111, 4) hsl(55, 94%, 25%) Olive
#040e79 rgb(4, 14, 121) hsl(235, 94%, 25%) Phthalo Blue
#04796f rgb(4, 121, 111) hsl(175, 94%, 25%) Pine Green
#6f0479 rgb(111, 4, 121) hsl(295, 94%, 25%) Purple