#8B791A

#8b791a ≈ Olive

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

#8b791a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.51% red, 47.45% green and 10.2% blue; printed in CMYK it uses 0% cyan, 12.95% magenta, 81.29% yellow and 45.49% black. Its hue angle is 50.44°, with 68.48% saturation and 32.35% 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.85:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.01.

Description generated from the measured properties of this color.

Conversions of #8b791a 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.1924

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #817961 ≈ 0.001% of males
Protanopia #867602 ≈ 1.01% of males
Deuteranopia #8b7c21 ≈ 1.27% of males
Tritanopia #976f67 ≈ 0.0001% of males
Protanomaly #88770e ≈ 1.08% of males
Deuteranomaly #8b7b1e ≈ 4.63% of males
Tritanomaly #927353 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8b791a {
  color: #8b791a;
}
Background
.bg-8b791a {
  background-color: #8b791a;
  color: #000000;
}
Border
.border-8b791a {
  border: 2px solid #8b791a;
}
CSS variables
:root {
  --color-primary: #8b791a;
  --color-primary-rgb: 139 121 26;
  --color-primary-hsl: 50 68% 32%;
}
Gradient
.gradient-8b791a {
  background: linear-gradient(135deg, #8b791a, #648b1a);
}
Colored shadow
.shadow-8b791a {
  box-shadow: 0 8px 24px rgb(139 121 26 / 0.35);
}

Olive
#8b791a  rgb(139, 121, 26)  hsl(50, 68%, 32%)  Olive
#1a2c8b  rgb(26, 44, 139)  hsl(230, 68%, 32%)  Imperial Blue
#1a8b79  rgb(26, 139, 121)  hsl(170, 68%, 32%)  Viridian
#791a8b  rgb(121, 26, 139)  hsl(290, 68%, 32%)  Purple