Color Details for GRAY-5

USWDS Details

  • Backgound: bg-gray-5
  • Text Color: text-gray-5
  • System Palette Token: gray-5
  • Theme Palette Token: base-lightest

Color Contrast
Courtesy of WebAIM Contrast API

  • Foreground Color: #171717
  • Background Color: #F0F0F0
  • Contrast Ratio: 15.7
  • AA: PASS
  • AA Large: PASS
  • AAA: PASS
  • AAA Large: PASS

Additional Color Information
Courtesy of thecolorapi.com

  • HEX: #F0F0F0
  • CMYK: 0, 0, 0, 6
  • HSL: 0, 0%, 94%
  • HSV: 0, 0, 94
  • RGB: 240, 240, 240
  • Closest Color Name
    • Name: Gallery (#EFEFEF)
    • Exact Match: NO
    • Distance : 5

WCAG 2 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text, and a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders). Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text.

Large text is defined as 14 point (typically 18.66px) and bold or larger, or 18 point (typically 24px) or larger.

Note: Color contrast is based on grades less than 50 using the base color (171717) and grades above 40 using white text (ffffff).

Page content was last updated: Sunday, March 3, 2019