#0c4c1b ≈ British Racing Green
#0c4c1b is a color from the green family, with very low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 29.8% green and 10.59% blue; printed in CMYK it uses 84.21% cyan, 0% magenta, 64.47% yellow and 70.2% black. Its hue angle is 134.06°, with 72.73% saturation and 17.25% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. White text on this color reaches a contrast ratio of 10.17:1 (WCAG AAA). The closest named color is British Racing Green (#004225), ΔE 6.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0533 |
Shades
#0c4c1b mixed progressively with black.
Tints
#0c4c1b mixed progressively with white.
Tones
#0c4c1b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4c1b {
color: #0c4c1b;
}
.bg-0c4c1b {
background-color: #0c4c1b;
color: #ffffff;
}
.border-0c4c1b {
border: 2px solid #0c4c1b;
}
:root {
--color-primary: #0c4c1b;
--color-primary-rgb: 12 76 27;
--color-primary-hsl: 134 73% 17%;
}
.gradient-0c4c1b {
background: linear-gradient(135deg, #0c4c1b, #0c4c3b);
}
.shadow-0c4c1b {
box-shadow: 0 8px 24px rgb(12 76 27 / 0.35);
}
British Racing Green
#0c4c1b rgb(12, 76, 27) hsl(134, 73%, 17%) British Racing Green
#4c0c3d rgb(76, 12, 61) hsl(314, 73%, 17%) Tyrian Purple
#1b0c4c rgb(27, 12, 76) hsl(254, 73%, 17%) Midnight Blue
#4c1b0c rgb(76, 27, 12) hsl(14, 73%, 17%) Caput Mortuum