#28271c ≈ Black Olive
#28271c is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 15.69% red, 15.29% green and 10.98% blue; printed in CMYK it uses 0% cyan, 2.5% magenta, 30% yellow and 84.31% black. Its hue angle is 55°, with 17.65% saturation and 13.33% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 15.03:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 7.38.
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.0199 |
Shades
#28271c mixed progressively with black.
Tints
#28271c mixed progressively with white.
Tones
#28271c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28271c {
color: #28271c;
}
.bg-28271c {
background-color: #28271c;
color: #ffffff;
}
.border-28271c {
border: 2px solid #28271c;
}
:root {
--color-primary: #28271c;
--color-primary-rgb: 40 39 28;
--color-primary-hsl: 55 18% 13%;
}
.gradient-28271c {
background: linear-gradient(135deg, #28271c, #23281c);
}
.shadow-28271c {
box-shadow: 0 8px 24px rgb(40 39 28 / 0.35);
}
Black Olive
#28271c rgb(40, 39, 28) hsl(55, 18%, 13%) Black Olive
#1c1d28 rgb(28, 29, 40) hsl(235, 18%, 13%) Rich Black
#1c2827 rgb(28, 40, 39) hsl(175, 18%, 13%) Gunmetal
#271c28 rgb(39, 28, 40) hsl(295, 18%, 13%) Licorice