#5B980B

#5b980b ≈ Olive Drab

  • yellow-green
  • Lightness: low
  • Saturation: strong
  • Balanced

#5b980b is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 35.69% red, 59.61% green and 4.31% blue; printed in CMYK it uses 40.13% cyan, 0% magenta, 92.76% yellow and 40.39% black. Its hue angle is 85.96°, with 86.5% saturation and 31.96% 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 corporate identities. Black text on this color reaches a contrast ratio of 5.94:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 4.77.

Description generated from the measured properties of this color.

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

Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #798f6c ≈ 0.001% of males
Protanopia #9f8b00 ≈ 1.01% of males
Deuteranopia #978721 ≈ 1.27% of males
Tritanopia #5c9181 ≈ 0.0001% of males
Protanomaly #899100 ≈ 1.08% of males
Deuteranomaly #838e1a ≈ 4.63% of males
Tritanomaly #5c9466 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b980b {
  color: #5b980b;
}
Background
.bg-5b980b {
  background-color: #5b980b;
  color: #000000;
}
Border
.border-5b980b {
  border: 2px solid #5b980b;
}
CSS variables
:root {
  --color-primary: #5b980b;
  --color-primary-rgb: 91 152 11;
  --color-primary-hsl: 86 87% 32%;
}
Gradient
.gradient-5b980b {
  background: linear-gradient(135deg, #5b980b, #14980b);
}
Colored shadow
.shadow-5b980b {
  box-shadow: 0 8px 24px rgb(91 152 11 / 0.35);
}

Olive Drab
#5b980b  rgb(91, 152, 11)  hsl(86, 87%, 32%)  Olive Drab
#480b98  rgb(72, 11, 152)  hsl(266, 87%, 32%)  Indigo
#0b5b98  rgb(11, 91, 152)  hsl(206, 87%, 32%)  Lapis Lazuli
#980b5b  rgb(152, 11, 91)  hsl(326, 87%, 32%)  Jazzberry Jam