Export

Code

/* Chocolate Brown — colorset.net */
:root {
  --color-1: #7B3F00;
  --color-2: #8B4513;
  --color-3: #A0522D;
  --color-4: #CD853F;
  --color-5: #DEB887;

  --color-bg: #FFF5E8;
  --color-surface: #F6ECDF;
  --color-border: #DFD3C3;
  --color-text: #734014;
  --color-muted: #7D6554;
  --color-primary: #A0522D;
  --color-on-primary: #FFFFFF;
  --color-accent: #A48051;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1B0B02;
    --color-surface: #261508;
    --color-border: #3D2919;
    --color-text: #D3BB9C;
    --color-muted: #927F68;
    --color-primary: #A0522D;
    --color-on-primary: #FFFFFF;
    --color-accent: #CD853F;
    --color-on-accent: #1B0B02;
  }
}

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 #DEB887adjusted for contrast · from #7B3F00
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #7B3F00adjusted for contrast · from #DEB887
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 background7.88:1AAA pass 4.5:1
Text on surface7.27:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary5.62:1AA pass 4.5:1
Label on accent5.78:1AA pass 4.5:1
Primary on background5.21:1AA pass 3:1
Accent on background3.37:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background10.37:1AAA pass 4.5:1
Text on surface9.52:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary5.62:1AA pass 4.5:1
Label on accent6.41:1AA pass 4.5:1
Primary on background3.41:1AA Large pass 3:1
Accent on background6.41: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#7B3F00 (Text 1)#8B4513 (Text 2)#A0522D (Text 3)#CD853F (Text 4)#DEB887 (Text 5)
#7B3F00Same color1.16—1.46—2.75—4.43AA Large
#8B45131.16—Same color1.26—2.37—3.82AA Large
#A0522D1.46—1.26—Same color1.88—3.02AA Large
#CD853F2.75—2.37—1.88—Same color1.61—
#DEB8874.43AA Large3.82AA Large3.02AA Large1.61—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#7B3F00#8B4513#A0522D#CD853F#DEB887

Variations

About Chocolate Brown

Chocolate Brown is a warm brown palette of 5 colors that runs from light orange #DEB887 to dark brown #7B3F00. With a hue spread of just 29°, it is effectively monochromatic: #7B3F00, #8B4513 and #A0522D differ mostly in lightness. Lightness spans 43% (#7B3F00) to 80% (#DEB887), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.107, peaking at 0.123 in #CD853F); the colors are clear without being loud. As a UI theme it uses #A0522D for primary actions and #A48051 as the accent; dark mode sits on #1B0B02 with #D3BB9C text (10.4:1). Try it for coffee shops, leather and craft goods and interior design, letting brown #A0522D carry the key actions.

Chocolate Brown color palette: #7B3F00, #8B4513, #A0522D, #CD853F, #DEB887
Share image for Chocolate Brown

Gradients in similar colors