#7f792b ≈ Olive
#7f792b is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 49.8% red, 47.45% green and 16.86% blue; printed in CMYK it uses 0% cyan, 4.72% magenta, 66.14% yellow and 50.2% black. Its hue angle is 55.71°, with 49.41% saturation and 33.33% 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.67:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.19.
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.1836 |
Shades
#7f792b mixed progressively with black.
Tints
#7f792b mixed progressively with white.
Tones
#7f792b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f792b {
color: #7f792b;
}
.bg-7f792b {
background-color: #7f792b;
color: #000000;
}
.border-7f792b {
border: 2px solid #7f792b;
}
:root {
--color-primary: #7f792b;
--color-primary-rgb: 127 121 43;
--color-primary-hsl: 56 49% 33%;
}
.gradient-7f792b {
background: linear-gradient(135deg, #7f792b, #5b7f2b);
}
.shadow-7f792b {
box-shadow: 0 8px 24px rgb(127 121 43 / 0.35);
}
Olive
#7f792b rgb(127, 121, 43) hsl(56, 49%, 33%) Olive
#2b317f rgb(43, 49, 127) hsl(236, 49%, 33%) Smalt
#2b7f79 rgb(43, 127, 121) hsl(176, 49%, 33%) Myrtle Green
#792b7f rgb(121, 43, 127) hsl(296, 49%, 33%) Eminence