Check WCAG contrast ratios for text and UI elements.
Sample text on selected colors.
Contrast
16.43
AA
Normal text (4.5:1)
Large text (3:1)
AAA
Normal text (7:1)
Large text (4.5:1)