#797d2f ≈ Olive
#797d2f is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 49.02% green and 18.43% blue; printed in CMYK it uses 3.2% cyan, 0% magenta, 62.4% yellow and 50.98% black. Its hue angle is 63.08°, with 45.35% saturation and 33.73% 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. Black text on this color reaches a contrast ratio of 4.79:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.4.
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.1894 |
Shades
#797d2f mixed progressively with black.
Tints
#797d2f mixed progressively with white.
Tones
#797d2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797d2f {
color: #797d2f;
}
.bg-797d2f {
background-color: #797d2f;
color: #000000;
}
.border-797d2f {
border: 2px solid #797d2f;
}
:root {
--color-primary: #797d2f;
--color-primary-rgb: 121 125 47;
--color-primary-hsl: 63 45% 34%;
}
.gradient-797d2f {
background: linear-gradient(135deg, #797d2f, #527d2f);
}
.shadow-797d2f {
box-shadow: 0 8px 24px rgb(121 125 47 / 0.35);
}
Olive
#797d2f rgb(121, 125, 47) hsl(63, 45%, 34%) Olive
#332f7d rgb(51, 47, 125) hsl(243, 45%, 34%) Dark Slate Blue
#2f797d rgb(47, 121, 125) hsl(183, 45%, 34%) Myrtle Green
#7d2f79 rgb(125, 47, 121) hsl(303, 45%, 34%) Byzantium