#6a660c ≈ Olive
#6a660c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 41.57% red, 40% green and 4.71% blue; printed in CMYK it uses 0% cyan, 3.77% magenta, 88.68% yellow and 58.43% black. Its hue angle is 57.45°, with 79.66% saturation and 23.14% 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.97:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 10.17.
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.1259 |
Shades
#6a660c mixed progressively with black.
Tints
#6a660c mixed progressively with white.
Tones
#6a660c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6a660c {
color: #6a660c;
}
.bg-6a660c {
background-color: #6a660c;
color: #ffffff;
}
.border-6a660c {
border: 2px solid #6a660c;
}
:root {
--color-primary: #6a660c;
--color-primary-rgb: 106 102 12;
--color-primary-hsl: 57 80% 23%;
}
.gradient-6a660c {
background: linear-gradient(135deg, #6a660c, #3f6a0c);
}
.shadow-6a660c {
box-shadow: 0 8px 24px rgb(106 102 12 / 0.35);
}
Olive
#6a660c rgb(106, 102, 12) hsl(57, 80%, 23%) Olive
#0c106a rgb(12, 16, 106) hsl(237, 80%, 23%) Midnight Blue
#0c6a66 rgb(12, 106, 102) hsl(177, 80%, 23%) Myrtle Green
#660c6a rgb(102, 12, 106) hsl(297, 80%, 23%) Purple