This document has two sections.
Color must not be the only means providing information.
The difference in contrast ("lightness") between the foreground and background of text must provide a sufficient degree of contrast to allow the text to be read by people with visual impairments.
Size of text
Larger text may have a reduced contrast.