#978A31

#978a31 ≈ Olive

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

#978a31 is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 59.22% red, 54.12% green and 19.22% blue; printed in CMYK it uses 0% cyan, 8.61% magenta, 67.55% yellow and 40.78% black. Its hue angle is 52.35°, with 51% saturation and 39.22% 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:1 (WCAG AA). The closest named color is Olive (#808000), ΔE 6.67.

Description generated from the measured properties of this color.

Conversions of #978a31 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.2498

Readable text 3.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8f8970 ≈ 0.001% of males
Protanopia #978625 ≈ 1.01% of males
Deuteranopia #9a8b36 ≈ 1.27% of males
Tritanopia #a28078 ≈ 0.0001% of males
Protanomaly #97882a ≈ 1.08% of males
Deuteranomaly #998b34 ≈ 4.63% of males
Tritanomaly #9e8463 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-978a31 {
  color: #978a31;
}
Background
.bg-978a31 {
  background-color: #978a31;
  color: #000000;
}
Border
.border-978a31 {
  border: 2px solid #978a31;
}
CSS variables
:root {
  --color-primary: #978a31;
  --color-primary-rgb: 151 138 49;
  --color-primary-hsl: 52 51% 39%;
}
Gradient
.gradient-978a31 {
  background: linear-gradient(135deg, #978a31, #719731);
}
Colored shadow
.shadow-978a31 {
  box-shadow: 0 8px 24px rgb(151 138 49 / 0.35);
}

Olive
#978a31  rgb(151, 138, 49)  hsl(52, 51%, 39%)  Olive
#313e97  rgb(49, 62, 151)  hsl(232, 51%, 39%)  Egyptian Blue
#31978a  rgb(49, 151, 138)  hsl(172, 51%, 39%)  Persian Green
#8a3197  rgb(138, 49, 151)  hsl(292, 51%, 39%)  Dark Magenta