Export

Code

/* Cocoa Bean — colorset.net */
:root {
  --color-1: #3E2723;
  --color-2: #5D4037;
  --color-3: #795548;
  --color-4: #8D6E63;
  --color-5: #A1887F;

  --color-bg: #FDF5F2;
  --color-surface: #F4EBE8;
  --color-border: #DED2CD;
  --color-text: #3E2723;
  --color-muted: #806561;
  --color-primary: #8D6E63;
  --color-on-primary: #FFFFFF;
  --color-accent: #5D4037;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150D0C;
    --color-surface: #201715;
    --color-border: #372A28;
    --color-text: #BAA097;
    --color-muted: #977E75;
    --color-primary: #8D6E63;
    --color-on-primary: #FFFFFF;
    --color-accent: #A1887F;
    --color-on-accent: #150D0C;
  }
}

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 #A1887Fadjusted for contrast · from #3E2723
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #A1887F
Muted textderivedderived
Primaryfrom palette · color 4from palette · color 4
On primaryderivedderived
Accentfrom palette · color 2from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background12.85:1AAA pass 4.5:1
Text on surface11.78:1AAA pass 4.5:1
Muted text on background4.94:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent9.32:1AAA pass 4.5:1
Primary on background4.30:1AA Large pass 3:1
Accent on background8.66:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.82:1AAA pass 4.5:1
Text on surface7.17:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent5.79:1AA pass 4.5:1
Primary on background4.15:1AA Large pass 3:1
Accent on background5.79: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#3E2723 (Text 1)#5D4037 (Text 2)#795548 (Text 3)#8D6E63 (Text 4)#A1887F (Text 5)
#3E2723Same color1.48—2.11—2.99—4.18AA Large
#5D40371.48—Same color1.42—2.02—2.81—
#7955482.11—1.42—Same color1.42—1.98—
#8D6E632.99—2.02—1.42—Same color1.40—
#A1887F4.18AA Large2.81—1.98—1.40—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#3E2723#5D4037#795548#8D6E63#A1887F

Variations

About Cocoa Bean

Cocoa Bean is a warm brown palette of 5 colors that runs from gray #A1887F to deep brown #3E2723. With a hue spread of just 10°, it is effectively monochromatic: #3E2723, #5D4037 and #795548 differ mostly in lightness. Lightness spans 30% (#3E2723) to 65% (#A1887F), a moderate range; text roles may need slight darkening for full contrast. Saturation is low (mean OKLCH chroma 0.042, peaking at 0.053 in #795548); the colors feel soft and muted. In light mode #FDF5F2 becomes the background with #3E2723 text at 12.8:1, and #8D6E63 takes the primary role. With #8D6E63 leading, good fits include heritage brands, sustainable fashion and interior design.

Cocoa Bean color palette: #3E2723, #5D4037, #795548, #8D6E63, #A1887F
Share image for Cocoa Bean

Gradients in similar colors