Export

Code

/* Linen Closet — colorset.net */
:root {
  --color-1: #FFFAF0;
  --color-2: #F5F5DC;
  --color-3: #E6E6FA;
  --color-4: #D3D3D3;
  --color-5: #C0C0C0;

  --color-bg: #FFFAF0;
  --color-surface: #F6F1E7;
  --color-border: #DED8CB;
  --color-text: #4F4F4F;
  --color-muted: #6C6C6C;
  --color-primary: #8B8B8B;
  --color-on-primary: #000000;
  --color-accent: #5A5A5A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #FFFAF0;
    --color-muted: #918D84;
    --color-primary: #C0C0C0;
    --color-on-primary: #0F0F0F;
    --color-accent: #E6E6FA;
    --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 1adjusted for contrast · from #C0C0C0
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #C0C0C0from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #C0C0C0from palette · color 5
On primaryderivedderived
Accentadjusted for contrast · from #C0C0C0from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.87:1AAA pass 4.5:1
Text on surface7.28:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary6.16:1AA pass 4.5:1
Label on accent6.90:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background6.63:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.42:1AAA pass 4.5:1
Text on surface16.90:1AAA pass 4.5:1
Muted text on background5.79:1AA pass 4.5:1
Label on primary10.54:1AAA pass 4.5:1
Label on accent15.58:1AAA pass 4.5:1
Primary on background10.54:1AAA pass 3:1
Accent on background15.58: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#FFFAF0 (Text 1)#F5F5DC (Text 2)#E6E6FA (Text 3)#D3D3D3 (Text 4)#C0C0C0 (Text 5)
#FFFAF0Same color1.06—1.18—1.44—1.75—
#F5F5DC1.06—Same color1.11—1.35—1.64—
#E6E6FA1.18—1.11—Same color1.22—1.48—
#D3D3D31.44—1.35—1.22—Same color1.22—
#C0C0C01.75—1.64—1.48—1.22—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFFAF0#F5F5DC#E6E6FA#D3D3D3#C0C0C0

Variations

About Linen Closet

Nearly all of the color weight in Linen Closet sits in neutral, which makes it a balanced palette anchored by cream #E6E6FA. There is no real hue here; neutrals between #C0C0C0 and #FFFAF0 do all the work with value contrast. All five colors stay in a narrow light band (81% to 99% lightness, #C0C0C0 to #FFFAF0), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.015, peaking at 0.033 in #F5F5DC); the palette is close to grayscale. As a UI theme it uses #8B8B8B for primary actions and #5A5A5A as the accent; dark mode sits on #0F0F0F with #FFFAF0 text (18.4:1). Its monochrome character, led by #C0C0C0, suits documentation sites, architecture studios and minimal portfolios.

Linen Closet color palette: #FFFAF0, #F5F5DC, #E6E6FA, #D3D3D3, #C0C0C0
Share image for Linen Closet

Gradients in similar colors