User:RexxS/AAAcolour
Following a discussion with Pigsonthewing, I'll assemble a table of colours that are WCAG AAA compatible with normal black text at up to 14pt (equal to 18px).
In each row, the "base colour" is the hue.
The last column is the darkest shade of that hue which meets the full WCAG AAA standard for (i) Brightness Difference, (ii) Colour Difference, (iii) Contrast Ratio, as measured by Snook's Colour Contrast Check.
Any colour of that hue with RGB values greater than those given will automatically be AAA compliant as well.
Note: none of these, except 'yellow', are AAA compatible, if the black text is replaced with link text (in Vector skin #0645AD ( ).
| base colour name | base colour | base colour in hex | base colour hue | darkest AAA colour |
|---|---|---|---|---|
| red | #FF0000 | 0° | #FF7B7B
| |
| orange | #FF8000 | 30° | #FFA74F
| |
| yellow | #FFFF00 | 60° | #FAFA00
| |
| chartreuse | #80FF00 | 90° | #A8FF4F
| |
| green | #00FF00 | 120° | #7BFF7B
| |
| spring green | #00FF80 | 150° | #4FFFA8
| |
| cyan | #00FFFF | 180° | #00FAFA
| |
| dodger blue | #0080FF | 210° | #4FA8FF
| |
| blue | #0000FF | 240° | #8888FF
| |
| electric indigo | #8000FF | 270° | #BB76FF
| |
| magenta | #FF00FF | 300° | #FF28FF
| |
| deep pink | #FF0080 | 330° | #FF52A9
| |
| grey | #808080 | - | #A7A7A7
|
With acknowledgement to Color Name & Hue for the names of the colours.
To do:
- darkest AAA compliant colours against #0645AD and 0B0080 (for links)
- lightest AAA compliant colours against white text (no links)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.