#8A8A1A

#8a8a1a ≈ Olive

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

#8a8a1a is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 54.12% green and 10.2% blue; printed in CMYK it uses 0% cyan, 0% magenta, 81.16% yellow and 45.88% black. Its hue angle is 60°, with 68.29% saturation and 32.16% 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.73:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #8a8a1a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999933
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2365

Readable text 3.66:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #87876b ≈ 0.001% of males
Protanopia #968400 ≈ 1.01% of males
Deuteranopia #978724 ≈ 1.27% of males
Tritanopia #948176 ≈ 0.0001% of males
Protanomaly #918609 ≈ 1.08% of males
Deuteranomaly #928821 ≈ 4.63% of males
Tritanomaly #90845e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Olive
#8a8a1a  rgb(138, 138, 26)  hsl(60, 68%, 32%)  Olive
#1a1a8a  rgb(26, 26, 138)  hsl(240, 68%, 32%)  Phthalo Blue
#1a8a8a  rgb(26, 138, 138)  hsl(180, 68%, 32%)  Dark Cyan
#8a1a8a  rgb(138, 26, 138)  hsl(300, 68%, 32%)  Dark Magenta