Visual Designer @ Deloitte Digital. Live in Los Angeles. Born & raised in Iowa. Dad. Baseball Fan. I like Hats and I like Cats. Sketch Enthusiast.
This means that when text is 24 px, 19 px bold, or larger, the lightest gray you can use on a white background is #959595.
For smaller text, the lightest gray you can use on a white background is #767676. If you have a gray background, the text needs to be darker.
According to the WCAG, the contrast ratio between text and a text’s background should be at least 4.5 to 1. If your font is at least 24 px or 19 px bold, the minimum drops to 3 to 1.