#8a782a ≈ Olive
#8a782a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 47.06% green and 16.47% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 69.57% yellow and 45.88% black. Its hue angle is 48.75°, with 53.33% saturation and 35.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 brand accents. Black text on this color reaches a contrast ratio of 4.8:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.19 |
Shades
#8a782a mixed progressively with black.
Tints
#8a782a mixed progressively with white.
Tones
#8a782a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a782a {
color: #8a782a;
}
.bg-8a782a {
background-color: #8a782a;
color: #000000;
}
.border-8a782a {
border: 2px solid #8a782a;
}
:root {
--color-primary: #8a782a;
--color-primary-rgb: 138 120 42;
--color-primary-hsl: 49 53% 35%;
}
.gradient-8a782a {
background: linear-gradient(135deg, #8a782a, #6c8a2a);
}
.shadow-8a782a {
box-shadow: 0 8px 24px rgb(138 120 42 / 0.35);
}
Olive
#8a782a rgb(138, 120, 42) hsl(49, 53%, 35%) Olive
#2a3c8a rgb(42, 60, 138) hsl(229, 53%, 35%) Smalt
#2a8a78 rgb(42, 138, 120) hsl(169, 53%, 35%) Viridian
#782a8a rgb(120, 42, 138) hsl(289, 53%, 35%) Eminence