#313D1F

#313d1f ≈ Rifle Green

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

#313d1f is a color from the yellow-green family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 23.92% green and 12.16% blue; printed in CMYK it uses 19.67% cyan, 0% magenta, 49.18% yellow and 76.08% black. Its hue angle is 84°, with 32.61% saturation and 18.04% 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 luxury branding. White text on this color reaches a contrast ratio of 11.55:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 6.84.

Description generated from the measured properties of this color.

Conversions of #313d1f 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.0409

Readable text 11.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #363b30 ≈ 0.001% of males
Protanopia #40391d ≈ 1.01% of males
Deuteranopia #3e3921 ≈ 1.27% of males
Tritanopia #333b36 ≈ 0.0001% of males
Protanomaly #3a3b1e ≈ 1.08% of males
Deuteranomaly #393b20 ≈ 4.63% of males
Tritanomaly #323c2e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313d1f {
  color: #313d1f;
}
Background
.bg-313d1f {
  background-color: #313d1f;
  color: #ffffff;
}
Border
.border-313d1f {
  border: 2px solid #313d1f;
}
CSS variables
:root {
  --color-primary: #313d1f;
  --color-primary-rgb: 49 61 31;
  --color-primary-hsl: 84 33% 18%;
}
Gradient
.gradient-313d1f {
  background: linear-gradient(135deg, #313d1f, #223d1f);
}
Colored shadow
.shadow-313d1f {
  box-shadow: 0 8px 24px rgb(49 61 31 / 0.35);
}

Rifle Green
#313d1f  rgb(49, 61, 31)  hsl(84, 33%, 18%)  Rifle Green
#2b1f3d  rgb(43, 31, 61)  hsl(264, 33%, 18%)  Oxford Blue
#1f313d  rgb(31, 49, 61)  hsl(204, 33%, 18%)  Gunmetal
#3d1f31  rgb(61, 31, 49)  hsl(324, 33%, 18%)  Eggplant