#8A7F3A

#8a7f3a ≈ Olive

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

#8a7f3a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.8% green and 22.75% blue; printed in CMYK it uses 0% cyan, 7.97% magenta, 57.97% yellow and 45.88% black. Its hue angle is 51.75°, with 40.82% saturation and 38.43% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 5.18:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.79.

Description generated from the measured properties of this color.

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

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #837e69 ≈ 0.001% of males
Protanopia #8a7c33 ≈ 1.01% of males
Deuteranopia #8d803d ≈ 1.27% of males
Tritanopia #947770 ≈ 0.0001% of males
Protanomaly #8a7d36 ≈ 1.08% of males
Deuteranomaly #8c803c ≈ 4.63% of males
Tritanomaly #907a5f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7f3a {
  color: #8a7f3a;
}
Background
.bg-8a7f3a {
  background-color: #8a7f3a;
  color: #000000;
}
Border
.border-8a7f3a {
  border: 2px solid #8a7f3a;
}
CSS variables
:root {
  --color-primary: #8a7f3a;
  --color-primary-rgb: 138 127 58;
  --color-primary-hsl: 52 41% 38%;
}
Gradient
.gradient-8a7f3a {
  background: linear-gradient(135deg, #8a7f3a, #6d8a3a);
}
Colored shadow
.shadow-8a7f3a {
  box-shadow: 0 8px 24px rgb(138 127 58 / 0.35);
}

Olive
#8a7f3a  rgb(138, 127, 58)  hsl(52, 41%, 38%)  Olive
#3a458a  rgb(58, 69, 138)  hsl(232, 41%, 38%)  Dark Slate Blue
#3a8a7f  rgb(58, 138, 127)  hsl(172, 41%, 38%)  Dark Cyan
#7f3a8a  rgb(127, 58, 138)  hsl(292, 41%, 38%)  Eminence