#31331A

#31331a ≈ Rifle Green

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

#31331a is a color from the yellow family, with very low lightness and muted saturation. In the RGB model it is made of 19.22% red, 20% green and 10.2% blue; printed in CMYK it uses 3.92% cyan, 0% magenta, 49.02% yellow and 80% black. Its hue angle is 64.8°, with 32.47% saturation and 15.1% 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 luxury branding. White text on this color reaches a contrast ratio of 12.97:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 8.78.

Description generated from the measured properties of this color.

Conversions of #31331a 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.031

Readable text 12.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #31322a ≈ 0.001% of males
Protanopia #363118 ≈ 1.01% of males
Deuteranopia #36321b ≈ 1.27% of males
Tritanopia #34302d ≈ 0.0001% of males
Protanomaly #343219 ≈ 1.08% of males
Deuteranomaly #34321b ≈ 4.63% of males
Tritanomaly #333127 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-31331a {
  color: #31331a;
}
Background
.bg-31331a {
  background-color: #31331a;
  color: #ffffff;
}
Border
.border-31331a {
  border: 2px solid #31331a;
}
CSS variables
:root {
  --color-primary: #31331a;
  --color-primary-rgb: 49 51 26;
  --color-primary-hsl: 65 32% 15%;
}
Gradient
.gradient-31331a {
  background: linear-gradient(135deg, #31331a, #25331a);
}
Colored shadow
.shadow-31331a {
  box-shadow: 0 8px 24px rgb(49 51 26 / 0.35);
}

Rifle Green
#31331a  rgb(49, 51, 26)  hsl(65, 32%, 15%)  Rifle Green
#1c1a33  rgb(28, 26, 51)  hsl(245, 32%, 15%)  Oxford Blue
#1a3133  rgb(26, 49, 51)  hsl(185, 32%, 15%)  Gunmetal
#331a31  rgb(51, 26, 49)  hsl(305, 32%, 15%)  Eggplant