If you use more than one color, make sure they work to support your title. In this example, two subcategories are being highlighted, so it needs two non-competing colors to highlight the data in those subcategories. (See References & Resources > Accessibility & Color to learn more about color and accessibility.) Non-text contrast ratio of at least 3:1 is suggested for accessibility by WCAG 2.1.