# Can we look at the contrast on tag warnings?

Just posted my first question using a tag that has a tag-warning in a while. Saw this:

I don't know much about accessibility, but I'll bet that's a pretty low contrast ratio by any measure. I didn't even notice it come up, and only because I ADD-style tabbed over to chat for a sec and then came back did my eye go "wait a minute, the spacing on this page looks a little strange" and I finally noticed there was text there.

I assume, though I don't know, that this may be an artifact of our particular theme and color palette: a network-wide font choice playing badly with our localized background. Can this go into a queue for whenever someone's doing design tidying?

• Sidenote: When I was editing the tags for this question, I noticed that the interface for suggested tags (i.e. what appears when you start typing in the tag field) looked different. Is that a recent change?
– V2Blast StaffMod
Feb 21, 2020 at 4:33
• It looked a little different to me, too, but I'm not sure that I'd ever used the bug tag before, so wasn't confident. Also, it's been a while since I've posted a question on meta....
– nitsua60 Mod
Feb 21, 2020 at 4:34
• "I assume, though I don't know, that this may be an artifact of our particular theme and color palette." - Note that the exact same coloration is used for the tag warning on other sites that have them. For instance, try using the [font-identification] tag on GraphicDesign.SE: graphicdesign.stackexchange.com/questions/ask
– V2Blast StaffMod
Feb 21, 2020 at 9:33
• @V2Blast true, but there it's at least on a white background. (I don't know the tools that experts like greener use to calculate contrast ratios, but to my eye it looks better there.) I'll clarify in the post that by "artifact" I mean the particular interaction of network-wide font with site-specific background.
– nitsua60 Mod
Feb 21, 2020 at 13:38

The colors are #9f8010 for text and #fffdf7 for background. That gives us a contrast ratio of 3.7. The WCAG 2.1 contrast ratio guideline says that text at this size needs to have a ratio of at least 4.5. A ratio of 3.7 is mostly okay for those of us with good eyesight, but people with poor vision will have a bit of trouble reading the warnings.
A slightly deeper bronze color of #7b6101 (for example) would accomplish a contrast ratio of 5.81, would still look warning-y, and would be a bit easier to read for the rest of us: