Export

Code

/* Medium Grey — colorset.net */
:root {
  --color-1: #505050;
  --color-2: #606060;
  --color-3: #707070;
  --color-4: #808080;
  --color-5: #909090;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #4D4D4D;
  --color-muted: #6A6A6A;
  --color-primary: #808080;
  --color-on-primary: #000000;
  --color-accent: #606060;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #A5A5A5;
    --color-muted: #838383;
    --color-primary: #808080;
    --color-on-primary: #0F0F0F;
    --color-accent: #666666;
    --color-on-accent: #FFFFFF;
  }
}

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
Backgroundadjusted for contrast · from #909090adjusted for contrast · from #505050
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #505050adjusted for contrast · from #909090
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #606060
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.89:1AAA pass 4.5:1
Text on surface7.22:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary5.32:1AA pass 4.5:1
Label on accent6.29:1AA pass 4.5:1
Primary on background3.69:1AA Large pass 3:1
Accent on background5.87:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.78:1AAA pass 4.5:1
Text on surface7.14:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary4.85:1AA pass 4.5:1
Label on accent5.74:1AA pass 4.5:1
Primary on background4.85:1AA pass 3:1
Accent on background3.34:1AA Large 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#505050 (Text 1)#606060 (Text 2)#707070 (Text 3)#808080 (Text 4)#909090 (Text 5)
#505050Same color1.28—1.63—2.04—2.53—
#6060601.28—Same color1.27—1.59—1.97—
#7070701.63—1.27—Same color1.25—1.55—
#8080802.04—1.59—1.25—Same color1.24—
#9090902.53—1.97—1.55—1.24—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#505050#606060#707070#808080#909090

Variations

About Medium Grey

Five colors make up Medium Grey, a balanced neutral set: #505050, #606060, #707070, #808080, #909090. Every color is a neutral, from #909090 down to #505050, so the palette works through light and shade alone. From #505050 to #909090 the colors share a similar mid-tone value (lightness 43%–65%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #707070 and the rest read as pure grays. Text contrast reaches 7.9:1 in light mode and 7.8:1 in dark mode, with #808080 as primary and #606060 as accent. With #808080 leading, good fits include documentation sites, architecture studios and editorial layouts.

These colors are almost the same as Gravel Road.

Medium Grey color palette: #505050, #606060, #707070, #808080, #909090
Share image for Medium Grey

Gradients in similar colors