Skip to content

24 ways to impress your friends

Vote up?

Brian Suda

Mike Kaply, there are a few equations for contrast with luminance, this is the W3C definition, which is very similar

They also have a more complex equation which I wanted to avoid in this quick article.

Testing the contrast by luminance is yet another tool to have in your tool box. I don’t think it really matters which equation you choose, there will always be issues with edge-cases, it is more important that you are using something.