Export

Code

/* Old Library — colorset.net */
:root {
  --color-1: #1F1A16;
  --color-2: #A67C52;
  --color-3: #4E6B4A;
  --color-4: #3B322B;
  --color-5: #EDE3D0;

  --color-bg: #F9F6F1;
  --color-surface: #F0EDE7;
  --color-border: #D9D4CB;
  --color-text: #1F1A16;
  --color-muted: #706A65;
  --color-primary: #A67C52;
  --color-on-primary: #1F1A16;
  --color-accent: #4E6B4A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1F1A16;
    --color-surface: #2A2520;
    --color-border: #413933;
    --color-text: #EDE3D0;
    --color-muted: #968D7B;
    --color-primary: #A67C52;
    --color-on-primary: #1F1A16;
    --color-accent: #597755;
    --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 #EDE3D0from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentfrom palette · color 3adjusted for contrast · from #4E6B4A
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background16.00:1AAA pass 4.5:1
Text on surface14.76:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent5.96:1AA pass 4.5:1
Primary on background3.46:1AA Large pass 3:1
Accent on background5.52:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.55:1AAA pass 4.5:1
Text on surface11.92:1AAA pass 4.5:1
Muted text on background5.25:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent5.01:1AA pass 4.5:1
Primary on background4.62:1AA pass 3:1
Accent on background3.45: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#1F1A16 (Text 1)#A67C52 (Text 2)#4E6B4A (Text 3)#3B322B (Text 4)#EDE3D0 (Text 5)
#1F1A16Same color4.62AA2.90—1.38—13.55AAA
#A67C524.62AASame color1.60—3.35AA Large2.93—
#4E6B4A2.90—1.60—Same color2.10—4.68AA
#3B322B1.38—3.35AA Large2.10—Same color9.84AAA
#EDE3D013.55AAA2.93—4.68AA9.84AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1F1A16#A67C52#4E6B4A#3B322B#EDE3D0

Variations

About Old Library

Leather spines and green reading lamps in an old library. No single hue dominates Old Library: neutral carries about 39% of the color weight, shared with brown and green, and dusty green #4E6B4A sits in the middle of the range. The hues range across 76° of the wheel, pairing brown #A67C52 with dusty green for lively contrast. Lightness runs from 22% to 92% (OKLCH), with #4E6B4A in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.039, peaking at 0.078 in #A67C52); the colors feel soft and muted. In light mode #F9F6F1 becomes the background with #1F1A16 text at 16.0:1, and #A67C52 takes the primary role. Its muted character, led by #A67C52, suits illustration, data visualization and brand systems with many sub-brands.

Old Library color palette: #1F1A16, #A67C52, #4E6B4A, #3B322B, #EDE3D0
Share image for Old Library

Gradients in similar colors