Export

Code

/* Moon Grey — colorset.net */
:root {
  --color-1: #D3D3D3;
  --color-2: #DCDCDC;
  --color-3: #E5E5E5;
  --color-4: #EEEEEE;
  --color-5: #F7F7F7;

  --color-bg: #F7F7F7;
  --color-surface: #EEEEEE;
  --color-border: #D8D4D5;
  --color-text: #4F4F4F;
  --color-muted: #6B6B6B;
  --color-primary: #888888;
  --color-on-primary: #000000;
  --color-accent: #575757;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #F7F7F7;
    --color-muted: #8B8B8B;
    --color-primary: #D3D3D3;
    --color-on-primary: #0F0F0F;
    --color-accent: #9D9D9D;
    --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 #D3D3D3
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #D3D3D3from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #D3D3D3from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #D3D3D3adjusted for contrast · from #D3D3D3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.65:1AAA pass 4.5:1
Text on surface7.06:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary5.92:1AA pass 4.5:1
Label on accent7.23:1AAA pass 4.5:1
Primary on background3.31:1AA Large pass 3:1
Accent on background6.75:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.89:1AAA pass 4.5:1
Text on surface16.41:1AAA pass 4.5:1
Muted text on background5.63:1AA pass 4.5:1
Label on primary12.80:1AAA pass 4.5:1
Label on accent7.07:1AAA pass 4.5:1
Primary on background12.80:1AAA pass 3:1
Accent on background7.07: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#D3D3D3 (Text 1)#DCDCDC (Text 2)#E5E5E5 (Text 3)#EEEEEE (Text 4)#F7F7F7 (Text 5)
#D3D3D3Same color1.09—1.19—1.29—1.40—
#DCDCDC1.09—Same color1.09—1.18—1.28—
#E5E5E51.19—1.09—Same color1.09—1.18—
#EEEEEE1.29—1.18—1.09—Same color1.08—
#F7F7F71.40—1.28—1.18—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#D3D3D3#DCDCDC#E5E5E5#EEEEEE#F7F7F7

Variations

About Moon Grey

Nearly all of the color weight in Moon Grey sits in neutral, which makes it a balanced palette anchored by light gray #E5E5E5. There is no real hue here; neutrals between #D3D3D3 and #F7F7F7 do all the work with value contrast. All five colors stay in a narrow light band (87% to 98% lightness, #D3D3D3 to #F7F7F7), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #E5E5E5 in the middle is a true gray. As a UI theme it uses #888888 for primary actions and #575757 as the accent; dark mode sits on #0F0F0F with #F7F7F7 text (17.9:1). With #D3D3D3 leading, good fits include typography-led layouts, icons and logos and clean landing pages.

These colors are almost the same as Limestone Chalk.

Moon Grey color palette: #D3D3D3, #DCDCDC, #E5E5E5, #EEEEEE, #F7F7F7
Share image for Moon Grey

Gradients in similar colors