#8A8A0B

#8a8a0b ≈ Olive

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

#8a8a0b 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 4.31% blue; printed in CMYK it uses 0% cyan, 0% magenta, 92.03% yellow and 45.88% black. Its hue angle is 60°, with 85.23% saturation and 29.22% 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 luxury branding. Black text on this color reaches a contrast ratio of 5.72:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 3.71.

Description generated from the measured properties of this color.

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

Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #87876a ≈ 0.001% of males
Protanopia #968400 ≈ 1.01% of males
Deuteranopia #97871b ≈ 1.27% of males
Tritanopia #958075 ≈ 0.0001% of males
Protanomaly #918600 ≈ 1.08% of males
Deuteranomaly #928816 ≈ 4.63% of males
Tritanomaly #91845c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a8a0b {
  color: #8a8a0b;
}
Background
.bg-8a8a0b {
  background-color: #8a8a0b;
  color: #000000;
}
Border
.border-8a8a0b {
  border: 2px solid #8a8a0b;
}
CSS variables
:root {
  --color-primary: #8a8a0b;
  --color-primary-rgb: 138 138 11;
  --color-primary-hsl: 60 85% 29%;
}
Gradient
.gradient-8a8a0b {
  background: linear-gradient(135deg, #8a8a0b, #4b8a0b);
}
Colored shadow
.shadow-8a8a0b {
  box-shadow: 0 8px 24px rgb(138 138 11 / 0.35);
}

Olive
#8a8a0b  rgb(138, 138, 11)  hsl(60, 85%, 29%)  Olive
#0b0b8a  rgb(11, 11, 138)  hsl(240, 85%, 29%)  Phthalo Blue
#0b8a8a  rgb(11, 138, 138)  hsl(180, 85%, 29%)  Dark Cyan
#8a0b8a  rgb(138, 11, 138)  hsl(300, 85%, 29%)  Dark Magenta