Export

Code

/* Gray Light — colorset.net */
:root {
  --color-1: #FAFAFA;
  --color-2: #F5F5F5;
  --color-3: #EEEEEE;
  --color-4: #E0E0E0;
  --color-5: #BDBDBD;

  --color-bg: #FAFAFA;
  --color-surface: #F1F1F1;
  --color-border: #DBD7D8;
  --color-text: #4F4F4F;
  --color-muted: #6C6C6C;
  --color-primary: #8B8B8B;
  --color-on-primary: #000000;
  --color-accent: #5A5A5A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #FAFAFA;
    --color-muted: #8D8D8D;
    --color-primary: #BDBDBD;
    --color-on-primary: #0F0F0F;
    --color-accent: #E0E0E0;
    --color-on-accent: #0F0F0F;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 1adjusted for contrast · from #BDBDBD
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #BDBDBDfrom palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #BDBDBDfrom palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #BDBDBDfrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.85:1AAA pass 4.5:1
Text on surface7.25:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary6.16:1AA pass 4.5:1
Label on accent6.90:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background6.61:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.36:1AAA pass 4.5:1
Text on surface16.84:1AAA pass 4.5:1
Muted text on background5.78:1AA pass 4.5:1
Label on primary10.20:1AAA pass 4.5:1
Label on accent14.52:1AAA pass 4.5:1
Primary on background10.20:1AAA pass 3:1
Accent on background14.52:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#FAFAFA (Text 1)#F5F5F5 (Text 2)#EEEEEE (Text 3)#E0E0E0 (Text 4)#BDBDBD (Text 5)
#FAFAFASame color1.04—1.11—1.26—1.80—
#F5F5F51.04—Same color1.06—1.21—1.72—
#EEEEEE1.11—1.06—Same color1.14—1.62—
#E0E0E01.26—1.21—1.14—Same color1.42—
#BDBDBD1.80—1.72—1.62—1.42—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD

Variations

About Gray Light

Five colors make up Gray Light, a balanced neutral set: #FAFAFA, #F5F5F5, #EEEEEE, #E0E0E0, #BDBDBD. Every color is a neutral, from #FAFAFA down to #BDBDBD, so the palette works through light and shade alone. From #BDBDBD to #FAFAFA the colors share a similar light value (lightness 80%–99%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #EEEEEE and the rest read as pure grays. As a UI theme it uses #8B8B8B for primary actions and #5A5A5A as the accent; dark mode sits on #0F0F0F with #FAFAFA text (18.4:1). With #BDBDBD leading, good fits include architecture studios, documentation sites and editorial layouts.

Gray Light color palette: #FAFAFA, #F5F5F5, #EEEEEE, #E0E0E0, #BDBDBD
Share image for Gray Light

Gradients in similar colors