Found this issue, because I had a similar problem when trying to generate a PDF from a html output in Google Apps Script where background-colors are also not "printed".
The -webkit-print-color-adjust:exact;
and !important
solutions of course did not work, but the box-shadow: inset 0 0 0 1000px gold;
did... great hack, thank you very much :)