#42402E

#42402e ≈ Black Olive

  • yellow
  • Lightness: low
  • Saturation: muted
  • Warm

#42402e is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 25.88% red, 25.1% green and 18.04% blue; printed in CMYK it uses 0% cyan, 3.03% magenta, 30.3% yellow and 74.12% black. Its hue angle is 54°, with 17.86% saturation and 21.96% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and corporate identities. White text on this color reaches a contrast ratio of 10.48:1 (WCAG AAA). The closest named color is Black Olive (#3b3c36), ΔE 6.01.

Description generated from the measured properties of this color.

Conversions of #42402e 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.0502

Readable text 10.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #404039 ≈ 0.001% of males
Protanopia #433f2d ≈ 1.01% of males
Deuteranopia #44402f ≈ 1.27% of males
Tritanopia #453e3b ≈ 0.0001% of males
Protanomaly #433f2d ≈ 1.08% of males
Deuteranomaly #43402e ≈ 4.63% of males
Tritanomaly #443f36 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-42402e {
  color: #42402e;
}
Background
.bg-42402e {
  background-color: #42402e;
  color: #ffffff;
}
Border
.border-42402e {
  border: 2px solid #42402e;
}
CSS variables
:root {
  --color-primary: #42402e;
  --color-primary-rgb: 66 64 46;
  --color-primary-hsl: 54 18% 22%;
}
Gradient
.gradient-42402e {
  background: linear-gradient(135deg, #42402e, #3a422e);
}
Colored shadow
.shadow-42402e {
  box-shadow: 0 8px 24px rgb(66 64 46 / 0.35);
}

Black Olive
#42402e  rgb(66, 64, 46)  hsl(54, 18%, 22%)  Black Olive
#2e3042  rgb(46, 48, 66)  hsl(234, 18%, 22%)  Jet
#2e4240  rgb(46, 66, 64)  hsl(174, 18%, 22%)  Dark Slate Gray
#402e42  rgb(64, 46, 66)  hsl(294, 18%, 22%)  Eggplant