#24271f ≈ Black Olive
#24271f is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 14.12% red, 15.29% green and 12.16% blue; printed in CMYK it uses 7.69% cyan, 0% magenta, 20.51% yellow and 84.71% black. Its hue angle is 82.5°, with 11.43% saturation and 13.73% 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.16:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 7.2.
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.0193 |
Shades
#24271f mixed progressively with black.
Tints
#24271f mixed progressively with white.
Tones
#24271f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-24271f {
color: #24271f;
}
.bg-24271f {
background-color: #24271f;
color: #ffffff;
}
.border-24271f {
border: 2px solid #24271f;
}
:root {
--color-primary: #24271f;
--color-primary-rgb: 36 39 31;
--color-primary-hsl: 83 11% 14%;
}
.gradient-24271f {
background: linear-gradient(135deg, #24271f, #20271f);
}
.shadow-24271f {
box-shadow: 0 8px 24px rgb(36 39 31 / 0.35);
}
Black Olive
#24271f rgb(36, 39, 31) hsl(83, 11%, 14%) Black Olive
#221f27 rgb(34, 31, 39) hsl(263, 11%, 14%) Licorice
#1f2427 rgb(31, 36, 39) hsl(203, 11%, 14%) Gunmetal
#271f24 rgb(39, 31, 36) hsl(323, 11%, 14%) Licorice