#5B5902

#5b5902 ≈ Army Green

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

#5b5902 is a color from the yellow family, with very low lightness and moderate saturation. In the RGB model it is made of 35.69% red, 34.9% green and 0.78% blue; printed in CMYK it uses 0% cyan, 2.2% magenta, 97.8% yellow and 64.31% black. Its hue angle is 58.65°, with 95.7% saturation and 18.24% 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 7.31:1 (WCAG AAA). The closest named color is Army Green (#4b5320), ΔE 7.45.

Description generated from the measured properties of this color.

Conversions of #5b5902 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.0937

Readable text 7.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.87:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #585743 ≈ 0.001% of males
Protanopia #625500 ≈ 1.01% of males
Deuteranopia #63580c ≈ 1.27% of males
Tritanopia #63524b ≈ 0.0001% of males
Protanomaly #5f5700 ≈ 1.08% of males
Deuteranomaly #605808 ≈ 4.63% of males
Tritanomaly #60553a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Army Green
#5b5902  rgb(91, 89, 2)  hsl(59, 96%, 18%)  Army Green
#02045b  rgb(2, 4, 91)  hsl(239, 96%, 18%)  Midnight Blue
#025b59  rgb(2, 91, 89)  hsl(179, 96%, 18%)  Dark Slate Gray
#59025b  rgb(89, 2, 91)  hsl(299, 96%, 18%)  Byzantium