#797d2a ≈ Olive
#797d2a 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 16.47% blue; printed in CMYK it uses 3.2% cyan, 0% magenta, 66.4% yellow and 50.98% black. Its hue angle is 62.89°, with 49.7% saturation and 32.75% 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.78:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.69.
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.189 |
Shades
#797d2a mixed progressively with black.
Tints
#797d2a mixed progressively with white.
Tones
#797d2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797d2a {
color: #797d2a;
}
.bg-797d2a {
background-color: #797d2a;
color: #000000;
}
.border-797d2a {
border: 2px solid #797d2a;
}
:root {
--color-primary: #797d2a;
--color-primary-rgb: 121 125 42;
--color-primary-hsl: 63 50% 33%;
}
.gradient-797d2a {
background: linear-gradient(135deg, #797d2a, #507d2a);
}
.shadow-797d2a {
box-shadow: 0 8px 24px rgb(121 125 42 / 0.35);
}
Olive
#797d2a rgb(121, 125, 42) hsl(63, 50%, 33%) Olive
#2e2a7d rgb(46, 42, 125) hsl(243, 50%, 33%) Midnight Blue
#2a797d rgb(42, 121, 125) hsl(183, 50%, 33%) Myrtle Green
#7d2a79 rgb(125, 42, 121) hsl(303, 50%, 33%) Byzantium