Export

Code

/* Mahogany Bookcase — colorset.net */
:root {
  --color-1: #160703;
  --color-2: #54220F;
  --color-3: #8F4622;
  --color-4: #D5B36A;
  --color-5: #EFE3CF;

  --color-bg: #FAF6F0;
  --color-surface: #F1EDE7;
  --color-border: #DAD4CB;
  --color-text: #160703;
  --color-muted: #725D55;
  --color-primary: #8F4622;
  --color-on-primary: #FFFFFF;
  --color-accent: #A5843B;
  --color-on-accent: #160703;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160703;
    --color-surface: #21110A;
    --color-border: #38231B;
    --color-text: #EFE3CF;
    --color-muted: #897E6C;
    --color-primary: #994F2B;
    --color-on-primary: #FFFFFF;
    --color-accent: #D5B36A;
    --color-on-accent: #160703;
  }
}

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 #EFE3CFfrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #8F4622
On primaryderivedderived
Accentadjusted for contrast · from #D5B36Afrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.30:1AAA pass 4.5:1
Text on surface16.90:1AAA pass 4.5:1
Muted text on background5.72:1AA pass 4.5:1
Label on primary6.85:1AA pass 4.5:1
Label on accent5.60:1AA pass 4.5:1
Primary on background6.36:1AA pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.54:1AAA pass 4.5:1
Text on surface14.41:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary5.99:1AA pass 4.5:1
Label on accent9.84:1AAA pass 4.5:1
Primary on background3.29:1AA Large pass 3:1
Accent on background9.84: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#160703 (Text 1)#54220F (Text 2)#8F4622 (Text 3)#D5B36A (Text 4)#EFE3CF (Text 5)
#160703Same color1.51—2.88—9.84AAA15.54AAA
#54220F1.51—Same color1.90—6.50AA10.27AAA
#8F46222.88—1.90—Same color3.42AA Large5.40AA
#D5B36A9.84AAA6.50AA3.42AA LargeSame color1.58—
#EFE3CF15.54AAA10.27AAA5.40AA1.58—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#160703#54220F#8F4622#D5B36A#EFE3CF

Variations

About Mahogany Bookcase

Mahogany shelves lit by a brass lamp. No single hue dominates Mahogany Bookcase: brown carries about 54% of the color weight, shared with yellow and neutral, and brown #8F4622 sits in the middle of the range. The 3 chromatic colors span 45° of hue, close enough for dark brown and light yellow to read as one family. Lightness runs from 15% to 92% (OKLCH), with #8F4622 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.070, peaking at 0.110 in #8F4622); the colors feel soft and muted. In light mode #FAF6F0 becomes the background with #160703 text at 18.3:1, and #8F4622 takes the primary role. With #8F4622 leading, good fits include interior design, sustainable fashion and marketing pages.

Mahogany Bookcase color palette: #160703, #54220F, #8F4622, #D5B36A, #EFE3CF
Share image for Mahogany Bookcase

Gradients in similar colors