Export

Code

/* Marble Gray — colorset.net */
:root {
  --color-1: #F8F8F2;
  --color-2: #E8E8E2;
  --color-3: #D8D8D2;
  --color-4: #C8C8C2;
  --color-5: #B8B8B2;

  --color-bg: #F8F8F2;
  --color-surface: #EFEFE9;
  --color-border: #D6D6CD;
  --color-text: #50504B;
  --color-muted: #6C6C67;
  --color-primary: #8A8A84;
  --color-on-primary: #000000;
  --color-accent: #595954;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0E;
    --color-surface: #1A1A18;
    --color-border: #2E2E29;
    --color-text: #F8F8F2;
    --color-muted: #8C8C87;
    --color-primary: #B8B8B2;
    --color-on-primary: #0F0F0E;
    --color-accent: #D8D8D2;
    --color-on-accent: #0F0F0E;
  }
}

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 #B8B8B2
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #B8B8B2from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #B8B8B2from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #B8B8B2from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.61:1AAA pass 4.5:1
Text on surface7.02:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary6.05:1AA pass 4.5:1
Label on accent7.04:1AAA 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 background17.99:1AAA pass 4.5:1
Text on surface16.35:1AAA pass 4.5:1
Muted text on background5.68:1AA pass 4.5:1
Label on primary9.62:1AAA pass 4.5:1
Label on accent13.40:1AAA pass 4.5:1
Primary on background9.62:1AAA pass 3:1
Accent on background13.40: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#F8F8F2 (Text 1)#E8E8E2 (Text 2)#D8D8D2 (Text 3)#C8C8C2 (Text 4)#B8B8B2 (Text 5)
#F8F8F2Same color1.15—1.34—1.58—1.87—
#E8E8E21.15—Same color1.16—1.37—1.62—
#D8D8D21.34—1.16—Same color1.17—1.39—
#C8C8C21.58—1.37—1.17—Same color1.19—
#B8B8B21.87—1.62—1.39—1.19—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F8F8F2#E8E8E2#D8D8D2#C8C8C2#B8B8B2

Variations

About Marble Gray

Nearly all of the color weight in Marble Gray sits in neutral, which makes it a balanced palette anchored by light gray #D8D8D2. There is no real hue here; neutrals between #B8B8B2 and #F8F8F2 do all the work with value contrast. All five colors stay in a narrow light band (78% to 98% lightness, #B8B8B2 to #F8F8F2), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #D8D8D2 in the middle is a true gray. In light mode #F8F8F2 becomes the background with #50504B text at 7.6:1, and #8A8A84 takes the primary role. Try it for documentation sites, architecture studios and minimal branding, letting gray #B8B8B2 carry the key actions.

Marble Gray color palette: #F8F8F2, #E8E8E2, #D8D8D2, #C8C8C2, #B8B8B2
Share image for Marble Gray

Gradients in similar colors