#8A7D31

#8a7d31 ≈ Olive

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

#8a7d31 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.02% green and 19.22% blue; printed in CMYK it uses 0% cyan, 9.42% magenta, 64.49% yellow and 45.88% black. Its hue angle is 51.24°, with 47.59% saturation and 36.67% 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.06:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.06.

Description generated from the measured properties of this color.

Conversions of #8a7d31 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.2029

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #827d66 ≈ 0.001% of males
Protanopia #897a28 ≈ 1.01% of males
Deuteranopia #8c7f35 ≈ 1.27% of males
Tritanopia #94746d ≈ 0.0001% of males
Protanomaly #897b2c ≈ 1.08% of males
Deuteranomaly #8b7e33 ≈ 4.63% of males
Tritanomaly #90785b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7d31 {
  color: #8a7d31;
}
Background
.bg-8a7d31 {
  background-color: #8a7d31;
  color: #000000;
}
Border
.border-8a7d31 {
  border: 2px solid #8a7d31;
}
CSS variables
:root {
  --color-primary: #8a7d31;
  --color-primary-rgb: 138 125 49;
  --color-primary-hsl: 51 48% 37%;
}
Gradient
.gradient-8a7d31 {
  background: linear-gradient(135deg, #8a7d31, #6b8a31);
}
Colored shadow
.shadow-8a7d31 {
  box-shadow: 0 8px 24px rgb(138 125 49 / 0.35);
}

Olive
#8a7d31  rgb(138, 125, 49)  hsl(51, 48%, 37%)  Olive
#313e8a  rgb(49, 62, 138)  hsl(231, 48%, 37%)  Dark Slate Blue
#318a7d  rgb(49, 138, 125)  hsl(171, 48%, 37%)  Viridian
#7d318a  rgb(125, 49, 138)  hsl(291, 48%, 37%)  Eminence