#978A4A

#978a4a ≈ Olive

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

#978a4a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 59.22% red, 54.12% green and 29.02% blue; printed in CMYK it uses 0% cyan, 8.61% magenta, 50.99% yellow and 40.78% black. Its hue angle is 49.87°, with 34.22% saturation and 44.12% 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.05:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 9.43.

Description generated from the measured properties of this color.

Conversions of #978a4a 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.2525

Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #8f8a75 ≈ 0.001% of males
Protanopia #958744 ≈ 1.01% of males
Deuteranopia #998c4d ≈ 1.27% of males
Tritanopia #a1827b ≈ 0.0001% of males
Protanomaly #968847 ≈ 1.08% of males
Deuteranomaly #988b4c ≈ 4.63% of males
Tritanomaly #9d856b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-978a4a {
  color: #978a4a;
}
Background
.bg-978a4a {
  background-color: #978a4a;
  color: #000000;
}
Border
.border-978a4a {
  border: 2px solid #978a4a;
}
CSS variables
:root {
  --color-primary: #978a4a;
  --color-primary-rgb: 151 138 74;
  --color-primary-hsl: 50 34% 44%;
}
Gradient
.gradient-978a4a {
  background: linear-gradient(135deg, #978a4a, #7e974a);
}
Colored shadow
.shadow-978a4a {
  box-shadow: 0 8px 24px rgb(151 138 74 / 0.35);
}

Olive
#978a4a  rgb(151, 138, 74)  hsl(50, 34%, 44%)  Olive
#4a5797  rgb(74, 87, 151)  hsl(230, 34%, 44%)  Sapphire
#4a978a  rgb(74, 151, 138)  hsl(170, 34%, 44%)  Persian Green
#8a4a97  rgb(138, 74, 151)  hsl(290, 34%, 44%)  Deep Plum