#786e02 ≈ Olive
#786e02 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 43.14% green and 0.78% blue; printed in CMYK it uses 0% cyan, 8.33% magenta, 98.33% yellow and 52.94% black. Its hue angle is 54.92°, with 96.72% saturation and 23.92% 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 luxury branding. White text on this color reaches a contrast ratio of 5.21:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 7.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666600 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1515 |
Shades
#786e02 mixed progressively with black.
Tints
#786e02 mixed progressively with white.
Tones
#786e02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786e02 {
color: #786e02;
}
.bg-786e02 {
background-color: #786e02;
color: #ffffff;
}
.border-786e02 {
border: 2px solid #786e02;
}
:root {
--color-primary: #786e02;
--color-primary-rgb: 120 110 2;
--color-primary-hsl: 55 97% 24%;
}
.gradient-786e02 {
background: linear-gradient(135deg, #786e02, #477802);
}
.shadow-786e02 {
box-shadow: 0 8px 24px rgb(120 110 2 / 0.35);
}
Olive
#786e02 rgb(120, 110, 2) hsl(55, 97%, 24%) Olive
#020c78 rgb(2, 12, 120) hsl(235, 97%, 24%) Navy
#02786e rgb(2, 120, 110) hsl(175, 97%, 24%) Pine Green
#6e0278 rgb(110, 2, 120) hsl(295, 97%, 24%) Purple