Is using yellow text on a black bg bad as Mike pointed out here? If yes what colors should I use (RGB or hex values)?
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
A few years ago if you had asked this question then the answer would have been a resounding yes! However we've been redefining design styles and ideas lately so it's now a little more complex.
Yellow can work on a black background, but it's as much about fonts and where the colour is used that affect the overall look of the site. Make sure you're using fonts that are easily legible and you only use yellow for highlighting, as you have done. Also try not to use pure white either but opt for a gentler light grey such as #ebebeb.
Bold colours such as yellow with a dark background are commonly seen with the current trend of flat design, however these are always a muted or softer version of the colour, and normally not a primary version of it. The background is also primarily a rich black (#252525 or similar) not true black (#000000). This makes it much easier to view whilst keeping the original idea for a colour scheme.
This site gives you an idea of what colours look like on a background it's very useful to work out what hurts your eyes and what doesn't.
This wonderful UI kit by Simon Eramo gives you a good idea of how to use bright colours on a dark background
This site gives a very nice example of how to use black and yellow, using white to off-set the potential harshness of the colour scheme.
The yellow here is primary but used only to highlight.
If you tend towards more golds and orange-yellows such as #f39c12 or #ffbb33 on soft black or dark grey backgrounds such as #333333 or #555555 then you should find it is easy on the eyes.
Although it was a pretty funny comment, yellow text on a black background is not a designer hate crime. Here are some sites that play with that concept. It's important to note that what you'll find throughout all these great sites is some consistent themes though.
Typography served - This site has yellow typography designs on it as well just to show examples that aren't limited to the web.
The concept is easy to botch, but if executed correctly I think it can make a visually striking design. I don't think it's so much to do with the hex values as it is to understand how to use the yellow throughout. I would, however, make sure to not use a full #000 black background as I think yellow on that is overwhelming for the eyes.