Color contrast answer
Does #ffffff work on #3f3f46?
#ffffff text on a #3f3f46 background has a contrast ratio of 10.44:1, so it passes WCAG AAA for normal text.
Open this page with JavaScript enabled to edit the colors, tune the pair, and compare it against a full palette.