Wow, I got that wrong. 0x5D is roughly luminance 0.36f so will only work with bright backgrounds. Not dark or mid-tone backgrounds like we see.
So another aspect of this bug is that the background is a mid-grey, which does not contrast with text that is #5d5d5d. The designed colours however seem to be more like #5d5d5d text on a white background, which would provide adequate contrast.
So any buttons whose backgrounds are mid-tone grey either need black text, or a much lighter background to support mid-tone text like #5d5d5d. I think our design docs promote the latter.
Wow, I got that wrong. 0x5D is roughly luminance 0.36f so will only work with bright backgrounds. Not dark or mid-tone backgrounds like we see.
So another aspect of this bug is that the background is a mid-grey, which does not contrast with text that is #5d5d5d. The designed colours however seem to be more like #5d5d5d text on a white background, which would provide adequate contrast.
So any buttons whose backgrounds are mid-tone grey either need black text, or a much lighter background to support mid-tone text like #5d5d5d. I think our design docs promote the latter.