Today the box that indicates if a question has an accepted answer has changed colour. This was done in an effort to improve the accessibility of the site. A noble goal which I generally applaud.
If we look at the previous layout of the box, with white text on a light green background, it used
#48A868 as background and
#FDFDFD as foreground. Which results in a contrast ratio of 2.91:1 using this contrast checker. The same page also indicates that this level of contrast fails all levels of WCAG 2.1 compliance.
If we then look at the current design, white text on a darkgreen background, the values used are
#2F6F44 as background and
#FDFDFD as foreground. This gives a contrast ratio of 5.93:1, which is in compliance with WCAG 2.1.
This approach however gives a very dark feel to the page, and you can compare it for yourself in the two screenshots below:
Now this obviously appears like someone put a developer at work to solve a design problem. And I know from experience what that's like. Usually the outcomes are less than desirable. Now I don't claim to be a designer, but I greatly value "light" designs, as opposed to the more depressing dark designs.
At the same time, I do see that there is a need to be more accessible, so I came up with an alternate solution, because I don't want to be just bashing here. That's too easy.
Therefore I present to you a contrast rating of 6.55:1 (even better than the current solution):
Using dark text
#0c0d0e on the original background
#48A868. To me this preserves the light feel of the site far better than the large dark rectangles that are currently implemented.
I hope the current design decision can be reconsidered!