#0C4C1B

#0c4c1b ≈ British Racing Green

  • green
  • Lightness: very low
  • Saturation: moderate
  • Balanced

#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.

Conversions of #0c4c1b into other color spaces
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 luminance0.0533

Readable text 10.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #334636 ≈ 0.001% of males
Protanopia #4d4416 ≈ 1.01% of males
Deuteranopia #463f1f ≈ 1.27% of males
Tritanopia #004a41 ≈ 0.0001% of males
Protanomaly #3d4818 ≈ 1.08% of males
Deuteranomaly #37451d ≈ 4.63% of males
Tritanomaly #004b36 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c4c1b {
  color: #0c4c1b;
}
Background
.bg-0c4c1b {
  background-color: #0c4c1b;
  color: #ffffff;
}
Border
.border-0c4c1b {
  border: 2px solid #0c4c1b;
}
CSS variables
:root {
  --color-primary: #0c4c1b;
  --color-primary-rgb: 12 76 27;
  --color-primary-hsl: 134 73% 17%;
}
Gradient
.gradient-0c4c1b {
  background: linear-gradient(135deg, #0c4c1b, #0c4c3b);
}
Colored shadow
.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