#8F8A2C

#8f8a2c ≈ Olive

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

#8f8a2c is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 56.08% red, 54.12% green and 17.25% blue; printed in CMYK it uses 0% cyan, 3.5% magenta, 69.23% yellow and 43.92% black. Its hue angle is 56.97°, with 52.94% saturation and 36.67% 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.84:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #8f8a2c 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.242

Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #878787 ≈ 0.003% of males
Achromatomaly #8a886e ≈ 0.001% of males
Protanopia #96851e ≈ 1.01% of males
Deuteranopia #988932 ≈ 1.27% of males
Tritanopia #9a8177 ≈ 0.0001% of males
Protanomaly #938724 ≈ 1.08% of males
Deuteranomaly #948930 ≈ 4.63% of males
Tritanomaly #958562 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8f8a2c {
  color: #8f8a2c;
}
Background
.bg-8f8a2c {
  background-color: #8f8a2c;
  color: #000000;
}
Border
.border-8f8a2c {
  border: 2px solid #8f8a2c;
}
CSS variables
:root {
  --color-primary: #8f8a2c;
  --color-primary-rgb: 143 138 44;
  --color-primary-hsl: 57 53% 37%;
}
Gradient
.gradient-8f8a2c {
  background: linear-gradient(135deg, #8f8a2c, #638f2c);
}
Colored shadow
.shadow-8f8a2c {
  box-shadow: 0 8px 24px rgb(143 138 44 / 0.35);
}

Olive
#8f8a2c  rgb(143, 138, 44)  hsl(57, 53%, 37%)  Olive
#2c318f  rgb(44, 49, 143)  hsl(237, 53%, 37%)  Smalt
#2c8f8a  rgb(44, 143, 138)  hsl(177, 53%, 37%)  Dark Cyan
#8a2c8f  rgb(138, 44, 143)  hsl(297, 53%, 37%)  Dark Magenta