#9E8A2F

#9e8a2f ≈ Olive

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#9e8a2f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 61.96% red, 54.12% green and 18.43% blue; printed in CMYK it uses 0% cyan, 12.66% magenta, 70.25% yellow and 38.04% black. Its hue angle is 49.19°, with 54.15% saturation and 40.2% 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 6.13:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 8.3.

Description generated from the measured properties of this color.

Conversions of #9e8a2f 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.2565

Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #938a71 ≈ 0.001% of males
Protanopia #988722 ≈ 1.01% of males
Deuteranopia #9d8d34 ≈ 1.27% of males
Tritanopia #ab7f77 ≈ 0.0001% of males
Protanomaly #9a8828 ≈ 1.08% of males
Deuteranomaly #9d8c32 ≈ 4.63% of males
Tritanomaly #a68462 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9e8a2f {
  color: #9e8a2f;
}
Background
.bg-9e8a2f {
  background-color: #9e8a2f;
  color: #000000;
}
Border
.border-9e8a2f {
  border: 2px solid #9e8a2f;
}
CSS variables
:root {
  --color-primary: #9e8a2f;
  --color-primary-rgb: 158 138 47;
  --color-primary-hsl: 49 54% 40%;
}
Gradient
.gradient-9e8a2f {
  background: linear-gradient(135deg, #9e8a2f, #7b9e2f);
}
Colored shadow
.shadow-9e8a2f {
  box-shadow: 0 8px 24px rgb(158 138 47 / 0.35);
}

Olive
#9e8a2f  rgb(158, 138, 47)  hsl(49, 54%, 40%)  Olive
#2f439e  rgb(47, 67, 158)  hsl(229, 54%, 40%)  Cobalt Blue
#2f9e8a  rgb(47, 158, 138)  hsl(169, 54%, 40%)  Persian Green
#8a2f9e  rgb(138, 47, 158)  hsl(289, 54%, 40%)  Dark Magenta