#9c862b ≈ Olive
#9c862b is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 61.18% red, 52.55% green and 16.86% blue; printed in CMYK it uses 0% cyan, 14.1% magenta, 72.44% yellow and 38.82% black. Its hue angle is 48.32°, with 56.78% saturation and 39.02% 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 5.86:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.13.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2429 |
Shades
#9c862b mixed progressively with black.
Tints
#9c862b mixed progressively with white.
Tones
#9c862b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9c862b {
color: #9c862b;
}
.bg-9c862b {
background-color: #9c862b;
color: #000000;
}
.border-9c862b {
border: 2px solid #9c862b;
}
:root {
--color-primary: #9c862b;
--color-primary-rgb: 156 134 43;
--color-primary-hsl: 48 57% 39%;
}
.gradient-9c862b {
background: linear-gradient(135deg, #9c862b, #799c2b);
}
.shadow-9c862b {
box-shadow: 0 8px 24px rgb(156 134 43 / 0.35);
}
Olive
#9c862b rgb(156, 134, 43) hsl(48, 57%, 39%) Olive
#2b419c rgb(43, 65, 156) hsl(228, 57%, 39%) Cobalt Blue
#2b9c86 rgb(43, 156, 134) hsl(168, 57%, 39%) Persian Green
#862b9c rgb(134, 43, 156) hsl(288, 57%, 39%) Dark Magenta