#5A8F3F

#5a8f3f ≈ Olive Drab

  • green
  • Lightness: medium
  • Saturation: moderate
  • Balanced

#5a8f3f is a color from the green family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 56.08% green and 24.71% blue; printed in CMYK it uses 37.06% cyan, 0% magenta, 55.94% yellow and 43.92% black. Its hue angle is 99.75°, with 38.83% saturation and 40.39% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. Designers typically use it for eco-friendly brands, health and wellness and brand accents. Black text on this color reaches a contrast ratio of 5.44:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 6.27.

Description generated from the measured properties of this color.

Conversions of #5a8f3f 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.2218

Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #74876d ≈ 0.001% of males
Protanopia #948437 ≈ 1.01% of males
Deuteranopia #8c8045 ≈ 1.27% of males
Tritanopia #588a7d ≈ 0.0001% of males
Protanomaly #80893b ≈ 1.08% of males
Deuteranomaly #7b8642 ≈ 4.63% of males
Tritanomaly #598c6a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a8f3f {
  color: #5a8f3f;
}
Background
.bg-5a8f3f {
  background-color: #5a8f3f;
  color: #000000;
}
Border
.border-5a8f3f {
  border: 2px solid #5a8f3f;
}
CSS variables
:root {
  --color-primary: #5a8f3f;
  --color-primary-rgb: 90 143 63;
  --color-primary-hsl: 100 39% 40%;
}
Gradient
.gradient-5a8f3f {
  background: linear-gradient(135deg, #5a8f3f, #3f8f4c);
}
Colored shadow
.shadow-5a8f3f {
  box-shadow: 0 8px 24px rgb(90 143 63 / 0.35);
}

Olive Drab
#5a8f3f  rgb(90, 143, 63)  hsl(100, 39%, 40%)  Olive Drab
#743f8f  rgb(116, 63, 143)  hsl(280, 39%, 40%)  Eminence
#3f5a8f  rgb(63, 90, 143)  hsl(220, 39%, 40%)  Lapis Lazuli
#8f3f5a  rgb(143, 63, 90)  hsl(340, 39%, 40%)  Twilight Lavender