#5A970D

#5a970d ≈ Olive Drab

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

#5a970d is a color from the yellow-green family, with low lightness and strong saturation. In the RGB model it is made of 35.29% red, 59.22% green and 5.1% blue; printed in CMYK it uses 40.4% cyan, 0% magenta, 91.39% yellow and 40.78% black. Its hue angle is 86.52°, with 84.15% saturation and 32.16% 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.87:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 4.6.

Description generated from the measured properties of this color.

Conversions of #5a970d 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.2434

Readable text 3.58:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #788e6b ≈ 0.001% of males
Protanopia #9e8a00 ≈ 1.01% of males
Deuteranopia #968622 ≈ 1.27% of males
Tritanopia #5b9080 ≈ 0.0001% of males
Protanomaly #889000 ≈ 1.08% of males
Deuteranomaly #828d1b ≈ 4.63% of males
Tritanomaly #5a9365 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a970d {
  color: #5a970d;
}
Background
.bg-5a970d {
  background-color: #5a970d;
  color: #000000;
}
Border
.border-5a970d {
  border: 2px solid #5a970d;
}
CSS variables
:root {
  --color-primary: #5a970d;
  --color-primary-rgb: 90 151 13;
  --color-primary-hsl: 87 84% 32%;
}
Gradient
.gradient-5a970d {
  background: linear-gradient(135deg, #5a970d, #15970d);
}
Colored shadow
.shadow-5a970d {
  box-shadow: 0 8px 24px rgb(90 151 13 / 0.35);
}

Olive Drab
#5a970d  rgb(90, 151, 13)  hsl(87, 84%, 32%)  Olive Drab
#4a0d97  rgb(74, 13, 151)  hsl(267, 84%, 32%)  Indigo
#0d5a97  rgb(13, 90, 151)  hsl(207, 84%, 32%)  Lapis Lazuli
#970d5a  rgb(151, 13, 90)  hsl(327, 84%, 32%)  Jazzberry Jam