Context: microsoft/vscode#145973 (comment)
The minimum contrast ratio should make this black text white/light gray:

It does not currently because we only move the fg color away from the bg color, we should instead invert the foreground and go in the other direction if necessary.