#8A7E2B

#8a7e2b ≈ Olive

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

#8a7e2b 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.41% green and 16.86% blue; printed in CMYK it uses 0% cyan, 8.7% magenta, 68.84% yellow and 45.88% black. Its hue angle is 52.42°, with 52.49% saturation and 35.49% 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.1:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.05.

Description generated from the measured properties of this color.

Conversions of #8a7e2b 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.205

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #827d66 ≈ 0.001% of males
Protanopia #8a7a20 ≈ 1.01% of males
Deuteranopia #8d7f30 ≈ 1.27% of males
Tritanopia #95756d ≈ 0.0001% of males
Protanomaly #8a7c25 ≈ 1.08% of males
Deuteranomaly #8c7f2e ≈ 4.63% of males
Tritanomaly #90795a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7e2b {
  color: #8a7e2b;
}
Background
.bg-8a7e2b {
  background-color: #8a7e2b;
  color: #000000;
}
Border
.border-8a7e2b {
  border: 2px solid #8a7e2b;
}
CSS variables
:root {
  --color-primary: #8a7e2b;
  --color-primary-rgb: 138 126 43;
  --color-primary-hsl: 52 52% 35%;
}
Gradient
.gradient-8a7e2b {
  background: linear-gradient(135deg, #8a7e2b, #678a2b);
}
Colored shadow
.shadow-8a7e2b {
  box-shadow: 0 8px 24px rgb(138 126 43 / 0.35);
}

Olive
#8a7e2b  rgb(138, 126, 43)  hsl(52, 52%, 35%)  Olive
#2b378a  rgb(43, 55, 138)  hsl(232, 52%, 35%)  Smalt
#2b8a7e  rgb(43, 138, 126)  hsl(172, 52%, 35%)  Dark Cyan
#7e2b8a  rgb(126, 43, 138)  hsl(292, 52%, 35%)  Eminence