Color contrast answer

Does #ffffff work on #4b5563?

#ffffff text on a #4b5563 background has a contrast ratio of 7.56:1, so it passes WCAG AAA for normal text.

Sample text

Readable UI preview

Reversed pair

Check both directions in Blobb.

Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.