#40512C

#40512c ≈ Army Green

  • yellow-green
  • Lightness: low
  • Saturation: muted
  • Balanced

#40512c is a color from the yellow-green family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 31.76% green and 17.25% blue; printed in CMYK it uses 20.99% cyan, 0% magenta, 45.68% yellow and 68.24% black. Its hue angle is 87.57°, with 29.6% saturation and 24.51% lightness in HSL. It sits between warm and cool, and is often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and corporate identities. White text on this color reaches a contrast ratio of 8.64:1 (WCAG AAA). The closest named color is Army Green (#4b5320), ΔE 5.42.

Description generated from the measured properties of this color.

Conversions of #40512c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336633
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0716

Readable text 8.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4c4c4c ≈ 0.003% of males
Achromatomaly #474e41 ≈ 0.001% of males
Protanopia #544c29 ≈ 1.01% of males
Deuteranopia #524b2e ≈ 1.27% of males
Tritanopia #414e48 ≈ 0.0001% of males
Protanomaly #4d4e2a ≈ 1.08% of males
Deuteranomaly #4b4e2d ≈ 4.63% of males
Tritanomaly #414f3f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40512c {
  color: #40512c;
}
Background
.bg-40512c {
  background-color: #40512c;
  color: #ffffff;
}
Border
.border-40512c {
  border: 2px solid #40512c;
}
CSS variables
:root {
  --color-primary: #40512c;
  --color-primary-rgb: 64 81 44;
  --color-primary-hsl: 88 30% 25%;
}
Gradient
.gradient-40512c {
  background: linear-gradient(135deg, #40512c, #2d512c);
}
Colored shadow
.shadow-40512c {
  box-shadow: 0 8px 24px rgb(64 81 44 / 0.35);
}

Army Green
#40512c  rgb(64, 81, 44)  hsl(88, 30%, 25%)  Army Green
#3d2c51  rgb(61, 44, 81)  hsl(268, 30%, 25%)  Eggplant
#2c4051  rgb(44, 64, 81)  hsl(208, 30%, 25%)  Charcoal
#512c40  rgb(81, 44, 64)  hsl(328, 30%, 25%)  Eggplant