I take a slightly different approach here.
What color text to use on green background. Shades of Gray Yes Really 373D3F or Raven is my lightest gray within a AAA accessibility rating. In fact the worst colors to use on a green background are most shades of green yellow or purple. If red text is used on a white background be sure to use a dark red to ensure proper color contrast.
If done with the exact right shades purple and green can create an intense design. Green text is a good choice. In grayscale there is only a slight contrast because red and green are of nearly equal brightness.
Merry Christmas in Different Color Vision Modes. In this slide for TD Waterhouse we created top title bar in dark green integrating smoothly with their lime green logo. Purple and some variants of green white or grey are also acceptable as background colors.
There are cases when instead of using a solid color it is better to rely on nice texture and neutral background. Dark Blue text is a good choice. If you want to use yellow text try a dark gray or dark blue background.
Color ContrastColorColor color int d 0. I and everyone I know must have astigmatism because Ive tried every major color combination I could think of and black text on a white background always wins except for people who have their brightness or contrast turned up too high. Bright colors - black font else d 255.
Black text is the best choice. The white text contrasts nicely with the forest green finance images helping to project a no-nonsense image of success and accomplishment. Testing a neutral color palette as text on a white background from previous article.