system/foundation/color-fundamentals

ID:
system/foundation/color-fundamentals
Automated score:
96.2
View JSON file

4 violations: Light: 1Dark: 1HC Light: 1HC Dark: 1

Ensures the contrast between foreground and background colors meets APCA custom level conformance minimums thresholds. Elements must meet APCA conformance minimums thresholds. Help URL

HTML

<div class="mr16 md:mr0 sm:mr16">300</div>

Target

.bg-black-300.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 43.11Lc (foreground color: #46484d, background color: #a7aab0, font size: 12.0pt (16px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

HTML

<div class="mr16 md:mr0 sm:mr16">350</div>

Target

.bg-black-350.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 25.47Lc (foreground color: #46484d, background color: #84878c, font size: 12.0pt (16px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

HTML

<div class="bg-yellow-400 fc-black bar-pill ta-center px8 py2">Robots</div>

Target

.bg-yellow-400.fc-black.bar-pill

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 43.61Lc (foreground color: #000000, background color: #ab8900, font size: 9.8pt (13px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

Ensures the contrast between foreground and background colors meets APCA custom level conformance minimums thresholds. Elements must meet APCA conformance minimums thresholds. Help URL

HTML

<div class="mr16 md:mr0 sm:mr16">300</div>

Target

.bg-black-300.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 55.31Lc (foreground color: #f2ede9, background color: #8c8c8c, font size: 12.0pt (16px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

HTML

<div class="mr16 md:mr0 sm:mr16">350</div>

Target

.bg-black-350.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 41.69Lc (foreground color: #f2ede9, background color: #a6a6a6, font size: 12.0pt (16px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

HTML

<div class="bg-yellow-400 fc-black bar-pill ta-center px8 py2">Robots</div>

Target

.bg-yellow-400.fc-black.bar-pill

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 27.49Lc (foreground color: #ffffff, background color: #e6d17e, font size: 9.8pt (13px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds. Elements must meet enhanced color contrast ratio thresholds. Help URL

HTML

<div class="mr16 md:mr0 sm:mr16">225</div>

Target

.bg-black-225.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.62 (foreground color: #44464b, background color: #d7d8db, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 7:1

Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds. Elements must meet enhanced color contrast ratio thresholds. Help URL

HTML

<div class="mr16 md:mr0 sm:mr16">200</div>

Target

section[aria-labelledby="backgrounds"] > .p32.bg-black-100.fd-column > .sm\:fd-column.overflow-hidden.bar-md > .bg-black-200.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #f2ede9, background color: #575757, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div class="mr16 md:mr0 sm:mr16">200</div>

Target

section[aria-labelledby="borders"] > .p32.bg-black-100.fd-column > .sm\:fd-column.overflow-hidden.bar-md > .bg-black-200.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #f2ede9, background color: #575757, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div class="mr16 md:mr0 sm:mr16">225</div>

Target

.bg-black-225.h64.sm\:h32 > .mr16.md\:mr0.sm\:mr16

Summary

Fix any of the following:

  • Element has insufficient color contrast of 4.93 (foreground color: #f2ede9, background color: #666666, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 7:1