#8A7A22

#8a7a22 ≈ Olive

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

#8a7a22 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 47.84% green and 13.33% blue; printed in CMYK it uses 0% cyan, 11.59% magenta, 75.36% yellow and 45.88% black. Its hue angle is 50.77°, with 60.47% saturation and 33.73% 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 corporate identities. Black text on this color reaches a contrast ratio of 4.89:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 5.72.

Description generated from the measured properties of this color.

Conversions of #8a7a22 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.1944

Readable text 4.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #817a62 ≈ 0.001% of males
Protanopia #867713 ≈ 1.01% of males
Deuteranopia #8b7c28 ≈ 1.27% of males
Tritanopia #957169 ≈ 0.0001% of males
Protanomaly #88781a ≈ 1.08% of males
Deuteranomaly #8a7b25 ≈ 4.63% of males
Tritanomaly #917455 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7a22 {
  color: #8a7a22;
}
Background
.bg-8a7a22 {
  background-color: #8a7a22;
  color: #000000;
}
Border
.border-8a7a22 {
  border: 2px solid #8a7a22;
}
CSS variables
:root {
  --color-primary: #8a7a22;
  --color-primary-rgb: 138 122 34;
  --color-primary-hsl: 51 60% 34%;
}
Gradient
.gradient-8a7a22 {
  background: linear-gradient(135deg, #8a7a22, #668a22);
}
Colored shadow
.shadow-8a7a22 {
  box-shadow: 0 8px 24px rgb(138 122 34 / 0.35);
}

Olive
#8a7a22  rgb(138, 122, 34)  hsl(51, 60%, 34%)  Olive
#22328a  rgb(34, 50, 138)  hsl(231, 60%, 34%)  Smalt
#228a7a  rgb(34, 138, 122)  hsl(171, 60%, 34%)  Viridian
#7a228a  rgb(122, 34, 138)  hsl(291, 60%, 34%)  Purple