OT: Type on Background - Contrast Ratios

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Oct 6 13:58:16 EDT 2016


For the RGB wizards… what is the algorithm to determine the luminance ratio between two colors?

See w3C recommendations posted in today's Adobe's XD newsletter (useful feed) below.

I'm thinking the total value of all three will serve.


The WC3 sets minimum standards for contrast ratios, which represent how different a color is from another color (commonly written as 1:1 or 21:1, the higher the difference between the two numbers in the ratio, the greater the difference in relative luminance between the colors). The W3C recommends the following contrast ratios for body text and image text:

  *   Small text should have a contrast ratio of at least 4.5:1 against its background. A ratio of 7:1 is preferred.
  *   Large text (at 14 pt bold/18 pt regular and up) should have a contrast ratio of at least 3:1 against its background.








More information about the use-livecode mailing list