#302e1c ≈ Black Olive
#302e1c is a color from the yellow family, with very low lightness and muted saturation. In the RGB model it is made of 18.82% red, 18.04% green and 10.98% blue; printed in CMYK it uses 0% cyan, 4.17% magenta, 41.67% yellow and 81.18% black. Its hue angle is 54°, with 26.32% saturation and 14.9% 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. White text on this color reaches a contrast ratio of 13.7:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 7.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0267 |
Shades
#302e1c mixed progressively with black.
Tints
#302e1c mixed progressively with white.
Tones
#302e1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-302e1c {
color: #302e1c;
}
.bg-302e1c {
background-color: #302e1c;
color: #ffffff;
}
.border-302e1c {
border: 2px solid #302e1c;
}
:root {
--color-primary: #302e1c;
--color-primary-rgb: 48 46 28;
--color-primary-hsl: 54 26% 15%;
}
.gradient-302e1c {
background: linear-gradient(135deg, #302e1c, #28301c);
}
.shadow-302e1c {
box-shadow: 0 8px 24px rgb(48 46 28 / 0.35);
}
Black Olive
#302e1c rgb(48, 46, 28) hsl(54, 26%, 15%) Black Olive
#1c1e30 rgb(28, 30, 48) hsl(234, 26%, 15%) Oxford Blue
#1c302e rgb(28, 48, 46) hsl(174, 26%, 15%) Gunmetal
#2e1c30 rgb(46, 28, 48) hsl(294, 26%, 15%) Licorice