Priority text color should be black if priority colors are lighter shade (ie, yellow)
I wanted to use a standard Red / Orange / Yellow / Green color scheme for my priority levels, but with orange and yellow, the text labels in the dashboard tables are not readable because the text is always white and contrast is very low. System should either: 1) limit available colors to darker shades (not preferable) OR 2) set priority text to black if priority color is set to a lighter shade. Shoot for a contrast ratio of 4.5 or greater for best readability (https://webaim.org/resources/contrastchecker/).
This works great! Thank you.