#8A7D1F

#8a7d1f ≈ Olive

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

#8a7d1f 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 12.16% blue; printed in CMYK it uses 0% cyan, 9.42% magenta, 77.54% yellow and 45.88% black. Its hue angle is 52.71°, with 63.31% saturation and 33.14% 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 5.03:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #8a7d1f 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.2017

Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #827c64 ≈ 0.001% of males
Protanopia #89790c ≈ 1.01% of males
Deuteranopia #8d7e26 ≈ 1.27% of males
Tritanopia #95736b ≈ 0.0001% of males
Protanomaly #8a7b15 ≈ 1.08% of males
Deuteranomaly #8c7e23 ≈ 4.63% of males
Tritanomaly #917756 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7d1f {
  color: #8a7d1f;
}
Background
.bg-8a7d1f {
  background-color: #8a7d1f;
  color: #000000;
}
Border
.border-8a7d1f {
  border: 2px solid #8a7d1f;
}
CSS variables
:root {
  --color-primary: #8a7d1f;
  --color-primary-rgb: 138 125 31;
  --color-primary-hsl: 53 63% 33%;
}
Gradient
.gradient-8a7d1f {
  background: linear-gradient(135deg, #8a7d1f, #628a1f);
}
Colored shadow
.shadow-8a7d1f {
  box-shadow: 0 8px 24px rgb(138 125 31 / 0.35);
}

Olive
#8a7d1f  rgb(138, 125, 31)  hsl(53, 63%, 33%)  Olive
#1f2c8a  rgb(31, 44, 138)  hsl(233, 63%, 33%)  Imperial Blue
#1f8a7d  rgb(31, 138, 125)  hsl(173, 63%, 33%)  Dark Cyan
#7d1f8a  rgb(125, 31, 138)  hsl(293, 63%, 33%)  Dark Magenta