If that whet your appetite.<p>Here are two more resources:<p><a href="http://news.ycombinator.com/item?id=1527404" rel="nofollow">http://news.ycombinator.com/item?id=1527404</a> ( ruby focused )<p><a href="http://particletree.com/notebook/calculating-color-contrast-for-legible-text/" rel="nofollow">http://particletree.com/notebook/calculating-color-contrast-...</a> ( The above makes reference to it )