Export

Code

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

  --color-bg: #FAFAFA;
  --color-surface: #F1F1F1;
  --color-border: #DBD7D8;
  --color-text: #4F4F4F;
  --color-muted: #6C6C6C;
  --color-primary: #898989;
  --color-on-primary: #000000;
  --color-accent: #585858;
  --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: #9E9E9E;
    --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 5adjusted for contrast · from #9E9E9E
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #9E9E9Efrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #9E9E9Efrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #9E9E9Efrom palette · color 3
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.00:1AA pass 4.5:1
Label on accent7.11:1AAA pass 4.5:1
Primary on background3.35:1AA Large pass 3:1
Accent on background6.82: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 primary7.15:1AAA pass 4.5:1
Label on accent14.52:1AAA pass 4.5:1
Primary on background7.15: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#9E9E9E (Text 1)#BDBDBD (Text 2)#E0E0E0 (Text 3)#F5F5F5 (Text 4)#FAFAFA (Text 5)
#9E9E9ESame color1.43—2.03—2.46—2.57—
#BDBDBD1.43—Same color1.42—1.72—1.80—
#E0E0E02.03—1.42—Same color1.21—1.26—
#F5F5F52.46—1.72—1.21—Same color1.04—
#FAFAFA2.57—1.80—1.26—1.04—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#9E9E9E#BDBDBD#E0E0E0#F5F5F5#FAFAFA

Variations

About Light Gray

Light Gray brings together two grays, a light gray and two whites (#9E9E9E, #BDBDBD, #E0E0E0, #F5F5F5, #FAFAFA) in a balanced, neutral-led scheme. Every color is a neutral, from #FAFAFA down to #9E9E9E, so the palette works through light and shade alone. From #9E9E9E to #FAFAFA the colors share a similar light value (lightness 70%–99%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #E0E0E0 and the rest read as pure grays. In light mode #FAFAFA becomes the background with #4F4F4F text at 7.8:1, and #898989 takes the primary role. With #9E9E9E leading, good fits include architecture studios, documentation sites and editorial layouts.

These colors are almost the same as Fog Bank Gray.

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

Gradients in similar colors