With the deployment of 1.29.0-wmf.5 which just finished on all wikis, several changes were made in user interface colors.* Gray boxes (TOC, Wikitables, catlinks, thumbnails, elements in history etc.) has changed from #f9f9f9 as background to #f8f9fa and #aaa as border to #a2a9b1.  This change is almost not noticeable but in order to keep consistency between all elements of a wiki page, change such usages in your Mediawiki:Common.css (for example for infoboxes).
* Search results border and background colors also changed and this one is also not noticeable. 
* "You have new message in your talk page" notification color has changed from #f9c557 to #fc3 (yellow).  This change is noticeable.
These all are parts of works ongoing by WMF designers and engineers to have a standard UI  using standard colors picked from Wikimedia color palette. 
Using consistent colors helps users have better experience and strengthen branding. Also these colors have passed WCAG standard for accessibility (for color blind people). Lots have been done already. Such as content translation  wikipedia.org
portal  , mobile frontend , Echo email notification , Deffered changes  ORES review tool , disambig icon  , WMF wiki main page  and a lot more.
So I recommend you to use the color palette  as much as possible.
I must explicitly note that I did a little and I don't think I can talk on behalf of UI-standardization team :)