Coffee Brown

Export

Code

/* Coffee Brown — colorset.net */
:root {
  --color-1: #654321;
  --color-2: #8B4513;
  --color-3: #A0522D;
  --color-4: #CD853F;
  --color-5: #D2B48C;

  --color-bg: #FFF5E9;
  --color-surface: #F5ECE0;
  --color-border: #DFD3C4;
  --color-text: #654321;
  --color-muted: #7D6754;
  --color-primary: #A0522D;
  --color-on-primary: #FFFFFF;
  --color-accent: #9F835C;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #180D04;
    --color-surface: #22170C;
    --color-border: #392A1D;
    --color-text: #CDB596;
    --color-muted: #917F68;
    --color-primary: #A0522D;
    --color-on-primary: #FFFFFF;
    --color-accent: #CD853F;
    --color-on-accent: #180D04;
  }
}

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 #D2B48Cadjusted for contrast · from #654321
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #D2B48C
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #CD853Ffrom palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.20:1AAA pass 4.5:1
Text on surface7.55:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary5.62:1AA pass 4.5:1
Label on accent5.88:1AA pass 4.5:1
Primary on background5.21:1AA pass 3:1
Accent on background3.32:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.69:1AAA pass 4.5:1
Text on surface8.90:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary5.62:1AA pass 4.5:1
Label on accent6.39:1AA pass 4.5:1
Primary on background3.41:1AA Large pass 3:1
Accent on background6.39:1AA 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#654321 (Text 1)#8B4513 (Text 2)#A0522D (Text 3)#CD853F (Text 4)#D2B48C (Text 5)
#654321Same color1.24—1.57—2.95—4.48AA Large
#8B45131.24—Same color1.26—2.37—3.60AA Large
#A0522D1.57—1.26—Same color1.88—2.85—
#CD853F2.95—2.37—1.88—Same color1.52—
#D2B48C4.48AA Large3.60AA Large2.85—1.52—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#654321#8B4513#A0522D#CD853F#D2B48C

Variations

About Coffee Brown

About 61% of the color weight in Coffee Brown sits in brown, which makes it a warm palette anchored by brown #A0522D. The 5 chromatic colors span 30° of hue, close enough for dark brown and light orange to read as one family. Lightness spans 41% (#654321) to 79% (#D2B48C), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.096, peaking at 0.123 in #CD853F); the colors are clear without being loud. In light mode #FFF5E9 becomes the background with #654321 text at 8.2:1, and #A0522D takes the primary role. Its earthy character, led by #A0522D, suits coffee shops, leather and craft goods and heritage brands.

These colors are almost the same as Canyon Soil.

Coffee Brown color palette: #654321, #8B4513, #A0522D, #CD853F, #D2B48C
Share image for Coffee Brown

Gradients in similar colors