#5B6012

#5b6012 ≈ Army Green

  • yellow
  • Lightness: low
  • Saturation: moderate
  • Warm

#5b6012 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 35.69% red, 37.65% green and 7.06% blue; printed in CMYK it uses 5.21% cyan, 0% magenta, 81.25% yellow and 62.35% black. Its hue angle is 63.85°, with 68.42% saturation and 22.35% 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 6.72:1 (WCAG AA). The closest named color is Army Green (#4b5320), ΔE 6.77.

Description generated from the measured properties of this color.

Conversions of #5b6012 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666600
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1063

Readable text 6.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5b5d49 ≈ 0.001% of males
Protanopia #685b01 ≈ 1.01% of males
Deuteranopia #685d19 ≈ 1.27% of males
Tritanopia #625a51 ≈ 0.0001% of males
Protanomaly #635d09 ≈ 1.08% of males
Deuteranomaly #635e16 ≈ 4.63% of males
Tritanomaly #5f5c41 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b6012 {
  color: #5b6012;
}
Background
.bg-5b6012 {
  background-color: #5b6012;
  color: #ffffff;
}
Border
.border-5b6012 {
  border: 2px solid #5b6012;
}
CSS variables
:root {
  --color-primary: #5b6012;
  --color-primary-rgb: 91 96 18;
  --color-primary-hsl: 64 68% 22%;
}
Gradient
.gradient-5b6012 {
  background: linear-gradient(135deg, #5b6012, #346012);
}
Colored shadow
.shadow-5b6012 {
  box-shadow: 0 8px 24px rgb(91 96 18 / 0.35);
}

Army Green
#5b6012  rgb(91, 96, 18)  hsl(64, 68%, 22%)  Army Green
#171260  rgb(23, 18, 96)  hsl(244, 68%, 22%)  Midnight Blue
#125b60  rgb(18, 91, 96)  hsl(184, 68%, 22%)  Midnight Green
#60125b  rgb(96, 18, 91)  hsl(304, 68%, 22%)  Byzantium