Neutral Gray

Export

Code

/* Neutral Gray — colorset.net */
:root {
  --color-1: #262626;
  --color-2: #525252;
  --color-3: #737373;
  --color-4: #A3A3A3;
  --color-5: #D4D4D4;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #262626;
  --color-muted: #6A6A6A;
  --color-primary: #737373;
  --color-on-primary: #FFFFFF;
  --color-accent: #868686;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #D4D4D4;
    --color-muted: #828282;
    --color-primary: #737373;
    --color-on-primary: #FFFFFF;
    --color-accent: #A3A3A3;
    --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
Backgroundadjusted for contrast · from #D4D4D4adjusted for contrast · from #262626
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #737373from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.13:1AAA pass 4.5:1
Text on surface12.93:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.74:1AA pass 4.5:1
Label on accent5.77:1AA pass 4.5:1
Primary on background4.43:1AA Large pass 3:1
Accent on background3.40:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background12.93:1AAA pass 4.5:1
Text on surface11.86:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.74:1AA pass 4.5:1
Label on accent7.60:1AAA pass 4.5:1
Primary on background4.04:1AA Large pass 3:1
Accent on background7.60: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#262626 (Text 1)#525252 (Text 2)#737373 (Text 3)#A3A3A3 (Text 4)#D4D4D4 (Text 5)
#262626Same color1.94—3.19AA Large6.00AA10.21AAA
#5252521.94—Same color1.65—3.10AA Large5.27AA
#7373733.19AA Large1.65—Same color1.88—3.20AA Large
#A3A3A36.00AA3.10AA Large1.88—Same color1.70—
#D4D4D410.21AAA5.27AA3.20AA Large1.70—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#262626#525252#737373#A3A3A3#D4D4D4

Variations

About Neutral Gray

Neutral Gray brings together a charcoal, a slate, two grays and a light gray (#262626, #525252, #737373, #A3A3A3, #D4D4D4) in a balanced, neutral-led scheme. Every color is a neutral, from #D4D4D4 down to #262626, so the palette works through light and shade alone. A 60-point lightness range (27% for #262626 to 87% for #D4D4D4) gives strong value contrast, useful for text on background. There is effectively no chroma in any of the colors, so #737373 and the rest read as pure grays. In light mode #F7F7F7 becomes the background with #262626 text at 14.1:1, and #737373 takes the primary role. With #737373 leading, good fits include editorial layouts, minimal portfolios and documentation sites.

Neutral Gray color palette: #262626, #525252, #737373, #A3A3A3, #D4D4D4
Share image for Neutral Gray

Gradients in similar colors