#5B6A17

#5b6a17 ≈ Dark Olive Green

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

#5b6a17 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 35.69% red, 41.57% green and 9.02% blue; printed in CMYK it uses 14.15% cyan, 0% magenta, 78.3% yellow and 58.43% black. Its hue angle is 70.84°, with 64.34% saturation and 25.29% lightness in HSL. It is a warm color, 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 5.97:1 (WCAG AA). The closest named color is Dark Olive Green (#556b2f), ΔE 5.01.

Description generated from the measured properties of this color.

Conversions of #5b6a17 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.1259

Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #60664f ≈ 0.001% of males
Protanopia #716406 ≈ 1.01% of males
Deuteranopia #70641e ≈ 1.27% of males
Tritanopia #61645a ≈ 0.0001% of males
Protanomaly #69660e ≈ 1.08% of males
Deuteranomaly #68661c ≈ 4.63% of males
Tritanomaly #5e6648 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b6a17 {
  color: #5b6a17;
}
Background
.bg-5b6a17 {
  background-color: #5b6a17;
  color: #ffffff;
}
Border
.border-5b6a17 {
  border: 2px solid #5b6a17;
}
CSS variables
:root {
  --color-primary: #5b6a17;
  --color-primary-rgb: 91 106 23;
  --color-primary-hsl: 71 64% 25%;
}
Gradient
.gradient-5b6a17 {
  background: linear-gradient(135deg, #5b6a17, #316a17);
}
Colored shadow
.shadow-5b6a17 {
  box-shadow: 0 8px 24px rgb(91 106 23 / 0.35);
}

Dark Olive Green
#5b6a17  rgb(91, 106, 23)  hsl(71, 64%, 25%)  Dark Olive Green
#26176a  rgb(38, 23, 106)  hsl(251, 64%, 25%)  Midnight Blue
#175b6a  rgb(23, 91, 106)  hsl(191, 64%, 25%)  Midnight Green
#6a175b  rgb(106, 23, 91)  hsl(311, 64%, 25%)  Byzantium