#403F2A

#403f2a ≈ Rifle Green

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

#403f2a is a color from the yellow family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 24.71% green and 16.47% blue; printed in CMYK it uses 0% cyan, 1.56% magenta, 34.38% yellow and 74.9% black. Its hue angle is 57.27°, with 20.75% saturation and 20.78% 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.7:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 6.01.

Description generated from the measured properties of this color.

Conversions of #403f2a 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.0481

Readable text 10.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #3f3e37 ≈ 0.001% of males
Protanopia #433d29 ≈ 1.01% of males
Deuteranopia #433e2b ≈ 1.27% of males
Tritanopia #433c3a ≈ 0.0001% of males
Protanomaly #423e29 ≈ 1.08% of males
Deuteranomaly #423f2a ≈ 4.63% of males
Tritanomaly #423d34 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-403f2a {
  color: #403f2a;
}
Background
.bg-403f2a {
  background-color: #403f2a;
  color: #ffffff;
}
Border
.border-403f2a {
  border: 2px solid #403f2a;
}
CSS variables
:root {
  --color-primary: #403f2a;
  --color-primary-rgb: 64 63 42;
  --color-primary-hsl: 57 21% 21%;
}
Gradient
.gradient-403f2a {
  background: linear-gradient(135deg, #403f2a, #36402a);
}
Colored shadow
.shadow-403f2a {
  box-shadow: 0 8px 24px rgb(64 63 42 / 0.35);
}

Rifle Green
#403f2a  rgb(64, 63, 42)  hsl(57, 21%, 21%)  Rifle Green
#2a2b40  rgb(42, 43, 64)  hsl(237, 21%, 21%)  Oxford Blue
#2a403f  rgb(42, 64, 63)  hsl(177, 21%, 21%)  Dark Slate Gray
#3f2a40  rgb(63, 42, 64)  hsl(297, 21%, 21%)  Eggplant