#5B8E1C

#5b8e1c ≈ Olive Drab

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

#5b8e1c 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, 55.69% green and 10.98% blue; printed in CMYK it uses 35.92% cyan, 0% magenta, 80.28% yellow and 44.31% black. Its hue angle is 86.84°, with 67.06% saturation and 33.33% 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.33:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.99.

Description generated from the measured properties of this color.

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

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #738667 ≈ 0.001% of males
Protanopia #948300 ≈ 1.01% of males
Deuteranopia #8e7f28 ≈ 1.27% of males
Tritanopia #5d8879 ≈ 0.0001% of males
Protanomaly #81870d ≈ 1.08% of males
Deuteranomaly #7c8524 ≈ 4.63% of males
Tritanomaly #5c8a61 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b8e1c {
  color: #5b8e1c;
}
Background
.bg-5b8e1c {
  background-color: #5b8e1c;
  color: #000000;
}
Border
.border-5b8e1c {
  border: 2px solid #5b8e1c;
}
CSS variables
:root {
  --color-primary: #5b8e1c;
  --color-primary-rgb: 91 142 28;
  --color-primary-hsl: 87 67% 33%;
}
Gradient
.gradient-5b8e1c {
  background: linear-gradient(135deg, #5b8e1c, #228e1c);
}
Colored shadow
.shadow-5b8e1c {
  box-shadow: 0 8px 24px rgb(91 142 28 / 0.35);
}

Olive Drab
#5b8e1c  rgb(91, 142, 28)  hsl(87, 67%, 33%)  Olive Drab
#4f1c8e  rgb(79, 28, 142)  hsl(267, 67%, 33%)  Indigo
#1c5b8e  rgb(28, 91, 142)  hsl(207, 67%, 33%)  Lapis Lazuli
#8e1c5b  rgb(142, 28, 91)  hsl(327, 67%, 33%)  Boysenberry