#8A7938

#8a7938 ≈ Olive

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

#8a7938 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.45% green and 21.96% blue; printed in CMYK it uses 0% cyan, 12.32% magenta, 59.42% yellow and 45.88% black. Its hue angle is 47.56°, with 42.27% saturation and 38.04% 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 4.87:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.5.

Description generated from the measured properties of this color.

Conversions of #8a7938 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.1936

Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #817966 ≈ 0.001% of males
Protanopia #847732 ≈ 1.01% of males
Deuteranopia #897c3b ≈ 1.27% of males
Tritanopia #94716a ≈ 0.0001% of males
Protanomaly #877834 ≈ 1.08% of males
Deuteranomaly #897b3a ≈ 4.63% of males
Tritanomaly #90745a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7938 {
  color: #8a7938;
}
Background
.bg-8a7938 {
  background-color: #8a7938;
  color: #000000;
}
Border
.border-8a7938 {
  border: 2px solid #8a7938;
}
CSS variables
:root {
  --color-primary: #8a7938;
  --color-primary-rgb: 138 121 56;
  --color-primary-hsl: 48 42% 38%;
}
Gradient
.gradient-8a7938 {
  background: linear-gradient(135deg, #8a7938, #728a38);
}
Colored shadow
.shadow-8a7938 {
  box-shadow: 0 8px 24px rgb(138 121 56 / 0.35);
}

Olive
#8a7938  rgb(138, 121, 56)  hsl(48, 42%, 38%)  Olive
#38498a  rgb(56, 73, 138)  hsl(228, 42%, 38%)  Yale Blue
#388a79  rgb(56, 138, 121)  hsl(168, 42%, 38%)  Viridian
#79388a  rgb(121, 56, 138)  hsl(288, 42%, 38%)  Eminence