#8C8A2B

#8c8a2b ≈ Olive

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

#8c8a2b is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 54.9% red, 54.12% green and 16.86% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 69.29% yellow and 45.1% black. Its hue angle is 58.76°, with 53.01% saturation and 35.88% 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 5.79:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #8c8a2b 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.2393

Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #89886d ≈ 0.001% of males
Protanopia #95841d ≈ 1.01% of males
Deuteranopia #978831 ≈ 1.27% of males
Tritanopia #968177 ≈ 0.0001% of males
Protanomaly #928723 ≈ 1.08% of males
Deuteranomaly #93892f ≈ 4.63% of males
Tritanomaly #928561 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8c8a2b {
  color: #8c8a2b;
}
Background
.bg-8c8a2b {
  background-color: #8c8a2b;
  color: #000000;
}
Border
.border-8c8a2b {
  border: 2px solid #8c8a2b;
}
CSS variables
:root {
  --color-primary: #8c8a2b;
  --color-primary-rgb: 140 138 43;
  --color-primary-hsl: 59 53% 36%;
}
Gradient
.gradient-8c8a2b {
  background: linear-gradient(135deg, #8c8a2b, #5d8c2b);
}
Colored shadow
.shadow-8c8a2b {
  box-shadow: 0 8px 24px rgb(140 138 43 / 0.35);
}

Olive
#8c8a2b  rgb(140, 138, 43)  hsl(59, 53%, 36%)  Olive
#2b2d8c  rgb(43, 45, 140)  hsl(239, 53%, 36%)  Imperial Blue
#2b8c8a  rgb(43, 140, 138)  hsl(179, 53%, 36%)  Dark Cyan
#8a2b8c  rgb(138, 43, 140)  hsl(299, 53%, 36%)  Dark Magenta