#40403E

#40403e ≈ Black Olive

  • gray
  • Lightness: low
  • Saturation: almost no
  • Neutral

#40403e is a color from the gray family, with low lightness and almost no saturation. In the RGB model it is made of 25.1% red, 25.1% green and 24.31% blue; printed in CMYK it uses 0% cyan, 0% magenta, 3.12% yellow and 74.9% black. Its hue angle is 60°, with 1.59% saturation and 24.71% 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 10.39:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 3.08.

Description generated from the measured properties of this color.

Conversions of #40403e into other color spaces
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 luminance0.051

Readable text 10.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #40403f ≈ 0.001% of males
Protanopia #40403e ≈ 1.01% of males
Deuteranopia #40403e ≈ 1.27% of males
Tritanopia #40403f ≈ 0.0001% of males
Protanomaly #40403e ≈ 1.08% of males
Deuteranomaly #40403e ≈ 4.63% of males
Tritanomaly #40403f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40403e {
  color: #40403e;
}
Background
.bg-40403e {
  background-color: #40403e;
  color: #ffffff;
}
Border
.border-40403e {
  border: 2px solid #40403e;
}
CSS variables
:root {
  --color-primary: #40403e;
  --color-primary-rgb: 64 64 62;
  --color-primary-hsl: 60 2% 25%;
}
Gradient
.gradient-40403e {
  background: linear-gradient(135deg, #40403e, #3f403e);
}
Colored shadow
.shadow-40403e {
  box-shadow: 0 8px 24px rgb(64 64 62 / 0.35);
}

Black Olive
#40403e  rgb(64, 64, 62)  hsl(60, 2%, 25%)  Black Olive
#3e3e40  rgb(62, 62, 64)  hsl(240, 2%, 25%)  Onyx
#3e4040  rgb(62, 64, 64)  hsl(180, 2%, 25%)  Onyx
#403e40  rgb(64, 62, 64)  hsl(300, 2%, 25%)  Jet