#787d1c ≈ Olive
#787d1c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.06% red, 49.02% green and 10.98% blue; printed in CMYK it uses 4% cyan, 0% magenta, 77.6% yellow and 50.98% black. Its hue angle is 63.09°, with 63.4% saturation and 30% 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.75:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.34.
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.1874 |
Shades
#787d1c mixed progressively with black.
Tints
#787d1c mixed progressively with white.
Tones
#787d1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-787d1c {
color: #787d1c;
}
.bg-787d1c {
background-color: #787d1c;
color: #000000;
}
.border-787d1c {
border: 2px solid #787d1c;
}
:root {
--color-primary: #787d1c;
--color-primary-rgb: 120 125 28;
--color-primary-hsl: 63 63% 30%;
}
.gradient-787d1c {
background: linear-gradient(135deg, #787d1c, #487d1c);
}
.shadow-787d1c {
box-shadow: 0 8px 24px rgb(120 125 28 / 0.35);
}
Olive
#787d1c rgb(120, 125, 28) hsl(63, 63%, 30%) Olive
#211c7d rgb(33, 28, 125) hsl(243, 63%, 30%) Midnight Blue
#1c787d rgb(28, 120, 125) hsl(183, 63%, 30%) Teal
#7d1c78 rgb(125, 28, 120) hsl(303, 63%, 30%) Purple