#8A810C

#8a810c ≈ Olive

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

#8a810c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 50.59% green and 4.71% blue; printed in CMYK it uses 0% cyan, 6.52% magenta, 91.3% yellow and 45.88% black. Its hue angle is 55.71°, with 84% saturation and 29.41% 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.23:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 2.84.

Description generated from the measured properties of this color.

Conversions of #8a810c 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.2113

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #838064 ≈ 0.001% of males
Protanopia #8e7c00 ≈ 1.01% of males
Deuteranopia #918119 ≈ 1.27% of males
Tritanopia #95776d ≈ 0.0001% of males
Protanomaly #8c7e00 ≈ 1.08% of males
Deuteranomaly #8e8115 ≈ 4.63% of males
Tritanomaly #917b56 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a810c {
  color: #8a810c;
}
Background
.bg-8a810c {
  background-color: #8a810c;
  color: #000000;
}
Border
.border-8a810c {
  border: 2px solid #8a810c;
}
CSS variables
:root {
  --color-primary: #8a810c;
  --color-primary-rgb: 138 129 12;
  --color-primary-hsl: 56 84% 29%;
}
Gradient
.gradient-8a810c {
  background: linear-gradient(135deg, #8a810c, #548a0c);
}
Colored shadow
.shadow-8a810c {
  box-shadow: 0 8px 24px rgb(138 129 12 / 0.35);
}

Olive
#8a810c  rgb(138, 129, 12)  hsl(56, 84%, 29%)  Olive
#0c158a  rgb(12, 21, 138)  hsl(236, 84%, 29%)  Phthalo Blue
#0c8a81  rgb(12, 138, 129)  hsl(176, 84%, 29%)  Dark Cyan
#810c8a  rgb(129, 12, 138)  hsl(296, 84%, 29%)  Dark Magenta