#42402C

#42402c ≈ Rifle Green

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

#42402c 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 17.25% blue; printed in CMYK it uses 0% cyan, 3.03% magenta, 33.33% yellow and 74.12% black. Its hue angle is 54.55°, with 20% saturation and 21.57% 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.49:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 6.24.

Description generated from the measured properties of this color.

Conversions of #42402c 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.0501

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

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #404038 ≈ 0.001% of males
Protanopia #443f2b ≈ 1.01% of males
Deuteranopia #44402d ≈ 1.27% of males
Tritanopia #453d3b ≈ 0.0001% of males
Protanomaly #433f2b ≈ 1.08% of males
Deuteranomaly #43402c ≈ 4.63% of males
Tritanomaly #443e35 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Rifle Green
#42402c  rgb(66, 64, 44)  hsl(55, 20%, 22%)  Rifle Green
#2c2e42  rgb(44, 46, 66)  hsl(235, 20%, 22%)  Oxford Blue
#2c4240  rgb(44, 66, 64)  hsl(175, 20%, 22%)  Dark Slate Gray
#402c42  rgb(64, 44, 66)  hsl(295, 20%, 22%)  Eggplant