For each form field, you can enter either a six digit or an abbreviated three digit hexadecimal colour (with or without the leading # sign) or one of the 17 standard CSS colour names listed below. (Colour values are not case sensitive.)
#00ffff#000000#0000ff#ff00ff#808080#008000#00ff00#800000#808000#ffa500#800080#ff0000#c0c0c0#008080#ffffff#ffff00For details on specifying colours see *CSS 2.1 Colors.
W3C *Web Content Accessibility Guidelines (WCAG) define three levels of conformance: 'A' (single-A), 'AA' (double-A) and 'AAA' (triple-A) in increasing order of stringency.
According to *WCAG Guideline 1.4, regarding colour contrast normal text must have a contrast ratio of at least 7:1 to satisfy 'AAA' requirements and at least 5:1 to satisfy 'AA' requirements. For *larger scale text, these requirements are relaxed slightly and 'AAA' guidelines require only 5:1 or higher and 'AA' 3:1 or higher. There do not appear to be any restrictions on contrast ratio for single-A conformance. It is the WCAG *Luminance Contrast Ratio Formula which is used on this site.
Two subsidiary tests, for brightness difference and colour difference, are also carried out by the analyser. These tests are based upon relatively old W3C formulae at *Techniques For Accessibility Evaluation And Repair Tools - Checkpoint 2.2.
These are both simple pass/fail criteria with no distinction between the different accessibility conformance levels.
These tests have essentially been superseded by the WCAG Contrast Ratio test above and are included only for completeness.