@dchernyshuk
If color scheme here is based on pollution statuses, then it supposed to be more than two colors (statuses).
So let’s imagine you have a yellow status color as well or other bright shade, then left concept will fail accessibility test because of bad contrast.
Right is better.