Introduction

Fermentation of cocoa beans followed by their roasting are the two key processes in chocolate manufacturing that decide of its quality. Physicochemical processes that are initiated during fermentation and continued during roasting cause a substantial change in contents of water, volatile acids, tannins and polyphenols as well as in the color, aroma and texture of cocoa beans [15, 18, 31]. Earlier investigations showed that roasting of unfermented cocoa beans did not result in formation of suitable precursors of taste and aroma. The roasted unfermented cocoa beans were deprived of the characteristic chocolate aroma and were bitter and astringent mainly due to high concentrations of polyphenols and tannins. The brown and purple color of the unfermented cocoa bean was attributed to the complex alteration products of catechin and tannin [2, 14, 26].

During fermentation, polyphenols undergo polymerization reactions and form complexes with proteins yielding less water soluble derivatives, while anthocyans are hydrolyzed to anthocyanidins which undergo polymerization with simple catechins yielding tannins. Thus, fermentation leads to almost complete disappearance of anthocyans. In further steps of cocoa beans processing, the content of polyphenols continues to decrease. During drying, they are involved in reactions of enzymatic browning and the ultimate color of cocoa beans depends on drying method. During drying process, the characteristic brown color of not only cocoa beans but also of chocolate is developed due to the enzymatic oxidation of polyphenols. Drying rate is very important for the cocoa beans’ quality. Too fast drying rate would result in high acidity (retaining an excessive amount of acids, mainly acetic acid), while too slow drying rate would result in low acidity, poorer color and high presence of molds [4, 12, 20, 29]. Roasting brings about further decrease in catechin and proanthocyanidin concentrations because of their reactions with proteins, products of their hydrolysis, amino acids, polysaccharides and Maillard reactions products yielding insoluble complexes. Although the nutritive value of cocoa beans is diminished due to the decrease in polyphenols content, their taste attributes are improved and their color is changed into dark brown [6, 7, 1921, 23, 27, 31].

The color is one of the most important physicochemical properties of roasted cocoa beans because it affects the quality of products derived from this commodity. Brown color is preferred to red-violet [30]. This parameter depends not only on contents of polyphenols and anthocyans and their derivatives but also on the presence of Maillard reactions products and products of starch dextrinization.

Maillard reactions which are reactions of nonenzymatic browning occurring in foods during thermal processing (also in cocoa beans) or long-term storage give rise to either positive or negative effects. Reactions between sugars and amino acids and proteins lead to degradation of essential amino acids, reduction in protein digestibility, inactivation of enzymes and lower susceptibility of proteins to proteolysis. Products of these reactions have either cancerogenic and mutagenic properties or display antioxidant and antibacterial activities that may positively affect human health. Reactions of cyclization, dehydration and condensation in the ultimate stage of Maillard processes yield both low molecular weight pigments and high molecular weight colored substances such as melanoidins [19].

The color of roasted cocoa beans can be determined by various methods such as the colorimetric CIE L*a*b method [18], pigment extraction, e.g., the assay of chocolate brown pigment N [22], extraction of pigments followed by separation of 3 principal fractions and determination of their concentration by colorimetric method [5] or spectrophotometric measurements of brown pigments in ethanol extracts [13, 18] or water extracts [6]. Also indices of pigments concentration such as the index of Maillard reactions products, which is determined spectrophotometrically [32] or total polyphenols content [10], are estimated.

Literature survey shows that earlier investigations focused on the effect of selected roasting parameters such as temperature or additional pretreatment processes such as alkalization on the color of cocoa beans and related products such as powdered cocoa and cocoa liquor [6]. For instance, Krysiak [15] studied the influence of relative humidity of roasting air on composition of pigments which were quantified according to Bonvehi and Coll [5]. The dependence of roasted cocoa beans color on roasting air flow rate and variable process parameters (temperature, flow rate and relative humidity of roasting air) has not been hitherto described. The aim of the study was to investigate the influence of the variable roasting process parameters on the formation of cocoa bean color. Therefore, this publication presents results of the study in which cocoa beans were processed under alternate conditions and furthermore, some selected parameters (temperature, flow rate and relative humidity of roasting air) were irreversibly changed during this process.

Materials and methods

Materials

Cocoa beans of Forastero variety were cultivated in Togo, which is located in West Africa at Guinea Bay. Only medium size beans were selected and used in roasting experiments.

Chemicals

We used the following chemicals: ethanol (CHEMPUR, Piekary Śląskie, Poland), chydrochloric acid (CHEMPUR, Piekary Śląskie, Poland), methanol (CHEMPUR, Piekary Śląskie, Poland), Silicagel G (Fluka Chemie GmbH, Buchs, Switzerland), Silicagel 60G (Merck KgaA, Darmstadt, Germany), Polyclar AT (SERVA Electrophoresis GmbH, Heidelberg, Germany), formic acid (CHEMPUR, Piekary Śląskie, Poland), Folin-Ciocalteu reagent (POCH, Gliwice, Poland), sodium carbonate (CHEMPUR, Piekary Śląskie, Poland).

Experiments

Roasting

Roasting processes were conducted in a laboratory convective roasting tunnel with forced air circulation and regulated air temperature (T), flow rate (v) and relative humidity (RH). The RH was regulated using a steam generator both before thermal processing and during this process. All changes in roasting parameters were done after the first 15 min of thermal processing. Samples of raw fermented cocoa beans (200 g each) were put through inlet funnels on a tray made from metal grid. Roasting processes were terminated when water content in the samples was decreased to 2 g 100 g−1 (w/w). On completion of the roasting process, the beans were immediately taken from the tunnel, cooled to approximately 20 °C using cold air and packed into tightly closed containers where they were kept for approximately 1 h to achieve the same temperature and humidity level in all the beans. Then they were subjected to husk removal, grinding in a laboratory mill and analyses. In this study, the cocoa beans were convectively roasted at temperatures of 135 or 150 °C using air with two different values of relative humidity such as dry air (RH = 0.3 g 100 g−1) which was not modified using steam generator and air with a higher relative humidity (RH = 5 g 100 g−1) further referred to as humid air. Application of roasting air with the higher relative humidity made the roasting process longer (t). Roasting was conducted at 2 air flow rates: v = 1 m s−1 or v = 0.5 m s−1, which were selected based on results obtained by Krysiak et al. [17] who investigated the effect of roasting parameters on selected attributes of roasted cocoa beans such as volatile acidity, total acidity and water content and determined the kinetics of changes in these attributes and roasting rates. Roasting processes were conducted in triplicate for each variant of roasting conditions. The control sample was raw cocoa bean. Variants of roasting conditions (constant and variable) tested in this study are presented below and numbered using Roman numeral.

Roasting under constant conditions

  • I—T = 135 °C, v = 1 m s−1, RH = 0.3 g 100 g−1

  • II—T = 135 °C, v = 1 m s−1, RH = 5 g 100 g−1

  • III—T = 150 °C, v = 1 m s−1, RH = 0.3 g 100 g−1

  • IV—T = 150 °C, v = 1 m s−1, RH = 5 g 100 g−1

  • V—T = 135 °C, v = 0.5 m s−1, RH = 0.3 g 100 g−1

  • VI—T = 135 °C, v = 0.5 m s−1, RH = 5 g 100 g−1

  • VII—T = 150 °C, v = 0.5 m s−1, RH = 0.3 g 100 g−1

  • VIII–T = 150 °C, v = 0.5 m s−1, RH = 5 g 100 g−1

Roasting under variable conditions—variable air flow rate

  • IX—T = 135 °C, v 1 = 1 m s−1t 1 = 15 min, and then v 2 = 0.5 m s−1t 2 = 30 min, RH = 0.3 g 100 g−1

  • X—T = 135 °C, v 1 = 1 m s−1t 1 = 15 min, and then v 2 = 0.5 m s−1t 2 = 45 min, RH = 5 g 100 g−1

  • XI—T = 150 °C, v 1 = 1 m s−1t 1 = 15 min, and then v 2 = 0.5 m s−1t 2 = 10 min, RH = 0.3 g 100 g−1

  • XII—T = 150 °C, v 1 = 1 m s−1t 1 = 15 min, and then v 2 = 0.5 m s−1t 2 = 15 min, RH = 5 g 100 g−1

  • XIII—T = 135 °C, v 1 = 0.5 m s−1t 1 = 15 min, and then v 2 = 1 m s−1t 2 = 35 min, RH = 0.3 g 100 g−1

  • XIV—T = 135 °C, v 1 = 0.5 m s−1t 1 = 15 min, and then v 2 = 1 m s−1t 2 = 45 min, RH = 5 g 100 g−1

  • XV—T = 150 °C, v 1 = 0.5 m s−1t 1 = 15 min, and then v 2 = 1 m s−1t 2 = 15 min, RH = 0.3 g 100 g−1

  • XVI—T = 150 °C, v 1 = 0.5 m s−1t 1 = 15 min, and then v 2 = 1 m s−1t 2 = 15 min, RH = 5 g 100 g−1

Roasting under variable conditions—variable air temperature

  • XVII—T 1 = 135 °C −t 1 = 15 min, and then T 2 = 150 °C −t 2 = 15 min, v = 1 m s−1, RH = 0.3 g 100 g−1

  • XVIII—T 1 = 135 °C −t 1 = 15 min, and then T 2 = 150 °C −t 2 = 20 min, v = 1 m s−1, RH = 5 g 100 g−1

  • XIX—T 1 = 150 °C −t 1 = 15 min, and then T 2 = 135 °C −t 2 = 5 min, v = 1 m s−1, RH = 0.3 g 100 g−1

  • XX—T 1 = 150 °C −t 1 = 15 min, and then T 2 = 135 °C −t 2 = 15 min, v = 1 m s−1, RH = 5 g 100 g−1

Roasting under variable conditions—variable air relative humidity

  • XXI—T = 135 °C, v = 1 m s−1, RH1 = 5 g 100 g−1t 1 = 15 min, and then RH2 = 0.3 g 100 g−1t 2 = 30 min

  • XXII—T = 150 °C, v = 1 m s−1, RH1 = 5 g 100 g−1t 1 = 15 min, and then RH2 = 0.3 g 100 g−1t 2 = 15 min

Methods

Dry mass content

The dry mass content was determined by drying 4 g sample of ground cocoa beans at 103 °C for 16 h according to PN-A-76101:1998 [25].

The color of roasted cocoa beans was estimated by pigment extraction and CIE L*a*b method. Also Maillard reaction products index and total polyphenols were determined.

Determination of color by extraction

The color was determined according to Lee et al. [18]. A sample of ground cocoa beans (1 g) was suspended in 100 mL of 50 g 100 g−1 ethanol in Erlenmeyer flasks. This suspension was subjected to two-step extraction under the following conditions:

Variant I: Mixing for 5 min at room temperature in an ultra-sound bath followed by 10-min incubation at room temperature in an orbital shaker at 170 rpm. Resulting extract was filtered through blotting paper. The filtrate was diluted with 50 g 100 g−1 ethanol (1:5), and the absorbance was measured at 420 nm using UV/VIS Hitachi U-2800A spectrophotometer (Hitachi High-Technologies Corporation, Tokyo, Japan). The result was expressed in absorbance units (OD).

Variants II and III are modifications of Lee, Yoo, Lee, Kwon and Pyun methods [18]. In the second step of extraction, it means after 5 min sonication:

  • the sample was incubated for 1 h at room temperature and at 170 rpm in variant II,

  • the sample was incubated for 1 h at 60 °C in a water bath at 170 rpm in variant III.

The extracts were filtered and further processed as in variant I.

Determination of color and pigment fractions

The color and pigment fractions were determined in triplicate according to Bonvehi and Coll [5]. The brown and red pigments (products of anthocyan conversion) were determined based on measurements of absorbance at 460 and 525 nm, respectively.

Brown pigments were extracted at room temperature from 2 g samples of ground nibs of cocoa beans with 50 mL of 12 M HCl/CH3OH (1 mL 12 M HCl + 999 mL CH3OH) for 45 min. The extracts were filtered through Whatman 541 filter paper. Filtrate aliquots (4 mL) were placed in 25-mL volumetric flasks, and their volume was filled with the extracting solvent (12 M HCl/CH3OH). The absorbance of diluted filtrate samples was measured at 460 and 525 nm using UV/VIS Hitachi U-2800A spectrophotometer (Hitachi High-Technologies Corporation, Tokyo, Japan) against the solvent (12 M HCl/CH3OH). The results were expressed on dry mass basis of raw or roasted cocoa beans, and the ratio OD460/OD525 was calculated. For good quality, properly fermented and roasted cocoa beans, this ratio is ≥1 which corresponds to lower content of red pigments.

An important marker of the quality of roasted cocoa beans, in terms of their color, is the content of derivatives of anthocyans and hydroxycyanic acid (F1), red pigments (F2) and yellow and brown pigments (F3). All these pigment fractions were separated by liquid chromatography by using a column (1.5 cm in diameter) packed with a blend (1.5 g) of Silicagel G, Silicagel 60G and Polyclar AT mixed in a proportion 2:14:4. An aliquot (2 mL) of extract filtrate (extracted with 12 M HCl/CH3OH) was applied to the column, and pigment fractions were eluted with the following solvents (25 mL each) used in the following order:

  • anthocyan monomers: 12 M HCl/CH3OH

  • polymers of red pigments: 50 g 100 g−1 formic acid

  • polymers of yellow pigments: pure formic acid.

The eluates were collected in 25-mL volumetric flasks, and their absorbance was measured at 525 nm versus respective solvents (12 M HCl/CH3OH, 50 g 100 g−1 formic acid, pure formic acid). The content of each pigment fraction was calculated and expressed on dry mass basis of raw or roasted cocoa beans. Results of this assay were expressed as F1/F3 ratio, which should not excess 0.3 for good quality cocoa beans (in terms of color).

Color measurements in CIE L*a*b* system

The color was determined using a trichromatic reflection colorimeter Konica Minolta CR-400 with Spectra Magic NX 1.3 software (Konica Minolta Sensing INC., Osaka, Japan). The results were expressed in accordance with CIE L*a*b system (D65 illuminant and 10° viewing angle). The measurements were made with an 8–mm-diameter diaphragm inset with optical glass. Prior to the measurements, the equipment was calibrated using a standard white tile.

Color parameters, i.e., the brightness L* (from 0-black to 100-white), a* (from (−50) green to 50-red), b* (from (−50)-blue to 50-yellow) and dE value, equal to the square root of [(dL*)2 + (da*)2 + (db*)2], characterizing the total change of color were measured.

The color of ground cocoa beans samples was measured in triplicate at several points of each sample.

The obtained values were equivalent to the total color difference that is obvious or not for the human eye according to Bodart, de Peñarada, Deneyer and Flamant [3]:

  • dE* < 1 color differences are not obvious for the human eye

  • 1 < dE* < 3 minor color differences could be appreciated by the human eye depending of the hue

  • dE* > 3 color differences are obvious for the human eye.

Determination of the index of Maillard reactions products (MR index)

The index was estimated by a spectrophotometric method as described by Yen, Wang, Chang and Duh [32].

Samples of 5 g 100 g−1 extract from cocoa beans were prepared by treatment of ground nibs of cocoa beans (15.17 g) with 87.5 g of boiling distilled water for 5 min with intermittent mixing. Resulting extracts were filtered and diluted with distilled water (1:4). Their absorbance was measured at 420 nm using a two-beam UV/VIS Hitachi U-2800A spectrophotometer (Hitachi High-Technologies Corporation, Tokyo, Japan).

The index of Maillard reactions products was calculated as follows:

$${\text{MR index = A}}_{ 4 2 0}^{\text{x}} 5^{\text{x}} {\text{P}}^{ - 1} ,$$

where A420—absorbance, P—percentage content (w/w) of solid substance in a tested sample.

Total polyphenols

Total polyphenols were assayed according to Fogliano and Verde [10].

Quantification of total polyphenols

Samples of ground cocoa beans (1 g) were weighed with the precision of 0.0001 g and placed in 100-mL volumetric flasks. Polyphenols were extracted with acidified 80 g 100 g−1 methanol through 30 min shaking, and the extracts were filtered. Aliquots of resulting filtrates (0.1 mL) were placed in 50-mL volumetric flasks and mixed for 1 min with portions of distilled water (4.2 mL) and F–C reagent (0.5 mL). Then 1 mL of 80 g 100 g−1 sodium carbonate was added to each flask, and they were filled to 50 mL with distilled water. The samples were incubated in the darkness for 2 h, and their absorbance was measured at 760 nm using a two-beam UV/VIS Hitachi U-2800A spectrophotometer (Hitachi High-Technologies Corporation, Tokyo, Japan).

Standard curve

A portion of gallic acid (2.4 mg) was dissolved (in 100-mL volumetric flask) in acidified 80 g 100 g−1 methanol. Aliquots of this stock solution (0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 and 1.0 mL) were transferred to 50-mL volumetric flasks and mixed for 1 min with 0.5 mL portions of Folin-Ciocalteu (F–C) reagent. Then 1 mL aliquots of 80 g 100 g−1 sodium carbonate were added to each flask, the volume of each sample was filled to 50 mL with distilled water, and they were incubated for 2 h in the darkness. The absorbance of the standard samples was measured at 760 nm using a two-beam UV/VIS Hitachi U-2800A spectrophotometer (Hitachi High-Technologies Corporation, Tokyo, Japan). Results of these measurements were used to plot the standard curve A760 = f(gallic acid content mgx50 mL−1) with the equation y = 6.4556x. The regression equation of the standard curve was used to calculate the concentration of total polyphenols in the studied samples.

Total polyphenols (g 100 g s·s.−1) were calculated from the formula:

$${\text{Y = A}}\left( { 6. 4 5 5 6^{\text{x}} {\text{m}}^{\text{x}} {\text{s}} . {\text{s}} .} \right)^{\text{ - 1x}} 1 0 0$$

where A—absorbance, m—sample mass (g), s.s.—solid substance content (g 100 g−1).

Statistical analysis of the results

Analyses and experiments were carried out in triplicate starting from cocoa bean roasting. The results of all assays were subjected to statistical analysis. It comprised of determination of average values as well as one-way ANOVA (analysis of variation) at the significance level of p < 0.05.

Results and discussion

Estimation of the color by pigment extraction

Roasting processes were terminated when water content in the samples was decreased to 2 g 100 g−1 (w/w) because this water content in roasted cocoa beans was found to be optimal for its further processing such as grinding and fat pressing. The duration of roasting processes corresponding to a decrease in water content to 2 g 100 g−1 (m/m) was determined experimentally for this batch of cocoa beans. Although longer roasting processes leading to water content below 2 g 100 g−1 (w/w) are potentially beneficial in terms of chocolate manufacturing, they are more expensive (higher energy inputs during roasting, grinding of harder beans and fat pressing) and can cause burning of cocoa beans. The temperature and duration of cocoa beans roasting (which depends on the temperature) depend on their variety, form (whole beans, crushed bean or cocoa liquor), roaster construction and desired final result. Noble varieties of cocoa beans are usually roasted at lower temperatures to protect as much of desired aroma components as possible. Cocoa beans of Forastero variety are roasted in the temperature range 130–150 °C, although 130 °C is thought to be too low. Therefore, in this study, the cocoa beans were convectively roasted at temperatures of 135 or 150 °C using air with two different values of relative humidity RH = 0.3 g 100 g−1 or RH = 5 g 100 g−1. Application of roasting air with the higher relative humidity made the roasting process longer (t).

Figure 1 presents the dependence of the color of cocoa beans expressed in absorbance units (OD) on conditions of roasting carried out at fixed process parameters, while Fig. 2 presents this dependence for variable process parameters.

Fig. 1
figure 1

The color of cocoa beans roasted under constant conditions; mean ± SD; n = 9

Fig. 2
figure 2

The color of cocoa beans roasted under conditions which were changed during the process of roasting in terms of the following parameters: A roasting air flow rate, B roasting air temperature, C relative humidity of roasting air; mean ± SD; n = 9

Presented experimental results provide evidence that roasting parameters such as roasting air temperature, relative humidity and flow rate strongly affect the color of roasted cocoa beans. Also changes in roasting parameters during this process have an impact on the color. To determine the effect of constant roasting temperature on the intensity of brown color, the cocoa beans were roasted at 135 or 150 °C. It was found that processing at the higher temperature (150 °C) did not cause an increase in brown color intensity expressed in absorbance units (OD) (Fig. 1). Also an increase in the relative humidity of roasting air from 0.3 g 100 g−1 to 5 g 100 g−1 had no effect on the intensity of brown color. When roasting was conducted at the lower air flow rate (0.5 m s−1), the time necessary to achieve the final 2 g 100 g−1 water content in the nibs was longer and more brown pigments were generated (Fig. 1) with an exception of the samples roasted at 135 °C, RH = 5 g.100 g−1 and air flow rate of 0.5 m s−1, for which values of OD (0.124—variant I, 0.134—variant II, 0.443—variant III) were lower than OD values (0.158—variant I, 0.150—variant II, 0.477—variant III) for samples roasted at the same temperature and RH but at the higher air flow rate of 1 m s−1. Processing of the samples roasted under the first conditions (T = 135 °C, RH = 5 g 100 g−1, v = 0.5 m s−1—roasting No VI) was twice longer (until the water content in nibs reached 2 g 100 g−1) compared to the samples roasted at v = 1 m s−1 (roasting No II) (Table 1). The longer roasting time might negatively affect the color because of the disappearance of a part of brown pigments caused by burning of cocoa beans or polymerization of these pigments yielding water insoluble substances that cannot be extracted with water.

Table 1 Color parameters measured by CIE L*a*b* method in cocoa beans roasted under constant conditions

Although OD values were also affected by pigment extraction conditions, they clearly demonstrate the effect of process parameters on the color of roasted cocoa beans (Fig. 1). The tendency of changes in the intensity of brown color was best visible when the pigments were extracted for 1 h at 60 °C. The scarce literature data describing the influence of constant roasting conditions on the color of cocoa beans [6, 13, 18, 22] are consistent with our experimental results because they prove that process conditions affect formation of brown pigments. Bonvehi et al. [6] roasted either alkalized or nonalkalized cocoa powder derived from cocoa beans of various geographic origins at temperatures of 125 or 135 °C. They found that formation of pigments was affected by alkalization, which influences the course of Maillard reactions through stimulation of reactions between amino acids and reducing sugars. Lee et al. [18] who roasted cocoa beans at temperatures ranging between 124 and 140 °C (124, 128, 132, 136 and 140 °C) observed that the intensity of brown color (OD) was decreased when the temperature was increased. Nebesny and Rutkowski [22] postulated that only roasting temperatures up to 135 °C cause advantageous changes in cocoa beans because these processes improve not only their taste and aroma but also brown color intensity. Furthermore, roasting at elevated temperatures (not exceeding 150 °C) did not improve the quality of cocoa beans, but on the contrary, their taste and aroma as well as color were worse, probably due to the initiation of burning. The effect of variable process conditions on the color of roasted cocoa beans has not been hitherto described.

Our experimental results show that when the changing process parameter was the rate of flow of roasting air (either reduced from 1 to 0.5 m s−1 or increased from 0.5 to 1 m s−1), the higher intensity of brown pigments was observed in cocoa beans roasted at the higher relative air humidity of 5 g 100 g−1 (Fig. 2a). This tendency is clearly visible when the II or III variant of pigment extraction conditions was used. In variant I, the extraction was conducted for only 15 min (5 min sonication + 10 min shaking) which seems to be insufficient for penetration of material particles by solvents and solubilization of brown pigments. The same relationship was observed when the variable roasting parameters were either temperature or relative humidity of roasting air. Pigment extraction according to variant I caused that the interplay between resulting OD values and roasting conditions was in some cases different from that observed when the extraction was conducted in accordance to variant II or III. When the variable process parameter was temperature, the intensity of brown color was higher when the cocoa beans were roasted for the first 15 min at 135 °C and then at 150 °C until water content in the nibs was reduced to 2 g 100 g−1 (Fig. 2b). Furthermore, the higher OD values were obtained when the humid air was used (variants II and III of pigment extraction conditions) that may be ascribed to the longer time of thermal processing (Table 3, No XVIII and XX), which was terminated at approximately 2 g 100 g−1 humidity of nibs. When the relative air humidity was decreased after the first 15 min from 5 g 100 g−1 to 0.3 g 100 g−1, the higher OD values corresponded to the lower roasting temperature (135 °C) like in the case of roasting under constant conditions.

The analysis of results of color determination through pigment extraction provides evidence that OD levels were similar for cocoa beans roasted under both constant and variable conditions. Among all tested samples, the highest OD values were observed in extracts obtained from cocoa beans roasted under constant conditions with dry air at 135 °C and air flow rate of 0.5 m s−1 (0.208—variant I, 0.269—variant II, 0.747—variant III). When roasting was conducted under variable conditions, the highest intensity of brown color corresponded to roasting with dry air (RH = 0.3 g 100 g−1) at 135 °C and at the air flow rate which was increased after the first 15 min from 0.5 to 1 m s−1 (0.189—variant II, 0.521—variant III) (Figs. 1, 2 parts A).

Determination of color and pigment fractions

Brown pigments (products of conversion of anthocyans) were quantified based on results of absorbance measurements at 460 and 525 nm. The OD460/OD525 ratio for good quality, properly fermented and roasted cocoa beans is known to be ≥1. This requirement was not fulfilled by the cocoa beans roasted under the following conditions:

  • constant process parameters: 135 °C, v = 1 m s−1 and RH = 0.3 g 100 g−1,

  • variable process parameters: T = 135 °C v = 1 m s−1 RH1 = 5 g 100 g−1 RH2 = 0.3 g 100 g−1 and T = 135 °C v 1 = 1 m s−1 v 2 = 0.5 m s−1 RH = 5 g 100 g−1 (Fig. 3).

    Fig. 3
    figure 3

    The effect of roasting conditions on the content of brown pigments in roasted cocoa beans (determined as OD460/OD525 index); mean ± SD; n = 9

However, OD460/OD525 values corresponding to these 3 variants of roasting conditions were only slightly lower than 1 (0.98, 0.95 and 0.96, respectively).

Values of OD460/OD525 for the tested variants of roasting conditions ranged between 0.95 and 1.41. The majority of them altered between approximately 1.1 and 1.2. These results are consistent with findings of Krysiak [15] who roasted cocoa beans from Ivory Coast under constant conditions. In opinion of Cros, Villeneuve and Vincent [8], these values indicate that the roasted cocoa beans are sufficiently brown. The highest concentration of brown pigments (1.41) was found in cocoa beans roasted with dry air (RH = 0.3 g 100 g−1) at v = 1 m s−1, and the temperature was ramped from 135 to 150 °C. The relatively high OD460/OD525 values were also found for samples roasted with humid air (RH = 5 g 100 g−1) under constant conditions. The opposite tendency was noticed when process parameters were variable because the higher OD460/OD525 values corresponded to samples roasted with dry air (RH = 0.3 g 100 g−1). This phenomenon may be ascribed to the longer time of processing with the humid air. In some cases, this time is longer only by 5 min but it is sufficient to cause changes in red and brown pigments. The discrepancy between the results may be caused by different temperatures of cocoa beans contained in the same batch because according to Krysiak and Motyl-Patelska [16] the consequence of roasting under different flow rates and relative humidity of air is different temperature inside the nibs. Comparison of OD460/OD525 values for cocoa beans roasted under constant conditions at different relative humidity of air shows that the longer time of processing with humid air, which is necessary to achieve 2 g 100 g−1 humidity of nibs, results in formation of higher amounts of brown pigments. It can be caused by differences in water content and water activity of cocoa beans subjected to processing (unpublished data). Nonenzymatic browning reactions require a suitable water concentration in reaction medium. The comparison of OD460/OD525 values for cocoa beans roasted under constant conditions at the air flow rate of either 1 or 0.5 m s−1 shows that despite the longer processing at the lower air flow rate (0.5 m s−1), the values of OD460/OD525 were at the same level as those found for the samples roasted at v = 1 m s−1 and ranged between 0.98 and 1.14. Such results suggest that application of constant roasting parameters (within the range used in this and aforementioned studies) results in similar OD460/OD525 values despite slightly higher values of this ratio corresponding to roasting with humid air at a flow rate of 0.5 m s−1. However, the longer time of roasting under the latter conditions and minor increase in OD460/OD525 value compared to results obtained when cocoa beans are processed with dry air at v = 1 m s−1 cause that from the economic point of view more advantageous is roasting with dry air flowing at the rate of 1 m s−1. Literature survey revealed that also Krysiak [15] who studied the effect of air humidity (2 or 5 g 100 g−1) on results of cocoa beans roasting under constant conditions noticed the higher brown pigments content for dry air. However, Krysiak [15] roasted cocoa beans from the Ivory Coast and determined the impact of neither air flow rate nor variation in process parameters on their color. Krysiak found the correlation between roasting temperature and OD460/OD525 ratio for these cocoa beans. Roasting at 150 °C gave rise to higher values of this ratio compared to roasting at either 135 or 110 °C. In our work, samples of cocoa beans roasted under constant conditions were regarded as reference samples which were prepared to find effects caused by changes in process parameters during roasting. The correlation between roasting temperature and OD460/OD525 ratio was observed in only one case (roasting with dry air at v = 1 m s−1), while in the other cases, it was not found probably because of the different origin of cocoa beans (Togo) affecting their chemical composition. When roasting was conducted under variable conditions, the similar relationship was observed for the variable air flow rate (1 → 0.5 m s−1 or 0.5 → 1 m s−1) and relative humidity (Fig. 3). For comparison, the correlation between roasting temperature and the color of roasted hazelnuts was found by Demir et al. [9] and Özdemir and Devres [24] who found that temperature was the factor deciding of this color.

Our experiments revealed that concentrations of pigment fractions (F1, F2, F3) were highly variable and it was difficult to find any relationship between them and roasting conditions (Fig. 4). Pigment profiles, it means the quality and quantity of these substances, are determined by reactions taking place during roasting when some pigments almost disappear. Simultaneously, starch undergoes dextrinization. Reactions of polymerization and polycondensation generate compounds containing such functional groups such as methyl, carbonyl, hydroxyl, amine, amide, and indole as well as ester and ether bonds. Their consequence is the considerable decrease in the content of violet and red pigments and deeper, desired brown color. Highest concentrations of yellow and brown pigments (fraction F3) were found in cocoa beans roasted under variable air humidity and at v = 1 m s−1 and 135 °C (73.69 g 100 g−1—Fig. 4) and at the variable rate of flow (1 → 0.5 m s−1) of humid air (RH = 5 g 100 g−1) at the temperature of 150 °C (60.56 g 100 g−1—Fig. 4).

Fig. 4
figure 4

Contents of pigments fractions in cocoa beans roasted under variable process parameters calculated based on measurements of absorbance at the wavelength of 525 nm; mean ± SD; n = 9

Roasting causes considerable changes in concentrations of fractions F1 and F3, and therefore, the ratio F1/F3 is a marker that can be used to evaluate the progress of cocoa beans browning (Fig. 5). According to Cros, Villeneuve and Vincent [8] for good quality roasted cocoa beans, this ratio is ≤0.3. This value was achieved when the cocoa beans were roasted under the following conditions:

Fig. 5
figure 5

The color of cocoa beans roasted under variable process parameters expressed as F1/F3 ratio; mean ± SD; n = 9

  • constant roasting conditions: T = 135 °C v = 1 m s−1 RH = 5 g 100 g−1 (0.28),

  • variable conditions: T = 150 °C RH = 5 g 100 g−1 v 1 = 1 m s−1t 1 = 15 min, and then v 2 = 0.5 m s − 1 −t2 = 15 min (0.29),T = 150 °C RH = 0.3 g 100 g − 1 v1 = 0.5 m s − 1 −t1 = 15 min, and then v2 = 1 m s − 1−t2 = 15 min (0.25),T = 150 °C RH = 5 g 100 g − 1 v1 = 05 m s − 1 −t1 = 15 min, and then v2 = 1 m s − 1 −t2 = 15 min (0.29),T = 135 °C v = 1 m s−1, RH1 = 5 g 100 g−1t 1 = 15 min, and then RH2 = 0.3 g 100 g−1t 2 = 30 min (0.10) (Fig. 5)

The lowest, it means the most advantageous F1/F3, value was achieved when cocoa beans were roasted at 135 °C and at variable relative air humidity. In general, variable process conditions were advantageous in terms of the browning level expressed as F1/F3.

Color measurements in CIE L*a*b* system

Results of measurements of color parameters such as L*, a*, b* and dE (total difference of color that is obvious or not for the human eye) for cocoa beans roasted under tested conditions are collected in Tables 1, 2, 3, 4. The color parameters are related to the browning reactions. According to Hawlader et al. [11] and Rocha and Morais [28], who studied the color changes of minimally processed apples, a decrease in parameter L* and an increase in a* value indicate to higher sample browning. Brightness analysis showed that the majority of roasted cocoa beans were darker than the raw ones, which were used as the reference in the experiments. Parameter dE was higher than 3 in almost all cases, and therefore, the change in color of roasted cocoa beans compared to raw, fermented ones was visible and obvious for the human eye with an exception of cocoa beans roasted with dry air under constant conditions at 150 °C and v = 1 m s−1, for which dE was only 2.15. It means that they were only slightly darker than the raw cocoa beans. The relatively low value of dE corresponded to the relatively high value of L* (one of the highest among tested samples). The highest dE value was observed for cocoa beans roasted at 150 °C with humid air (RH = 5 g 100 g−1) and at variable air flow rate (increased from 0.5 to 1 m s−1 (Table 2, No. XVI). For this sample, parameter L* was at the same level as for the raw cocoa beans, while parameters a* and b* were substantially different. The latter roasted cocoa beans were characterized by the highest concentrations of yellow and red pigments among tested samples of roasted and raw cocoa beans. It was found that when roasting was carried out under variable conditions, an increase in temperature (at fixed relative humidity and flow rate of air) brought about a rise in concentrations of yellow and red pigments. In contrast, when roasting conditions were constant, the concentrations of these pigments were lower in cocoa beans processed at the higher process temperature (150 °C) compared to those roasted at 135 °C (at fixed air flow rate and relative humidity). Application of humid air (RH = 5 g 100 g−1) for roasting under constant conditions resulted in higher values of parameter L* compared to roasting with dry air (RH = 0.3 g 100 g−1) which means that cocoa beans roasted at higher RH of air were darker. Lower L* values did not correspond with higher values of a*, with an exception of cocoa beans roasted at 150 °C and v = 1 m s−1. The effect of air flow rate on color parameters was not observed. When roasting was conducted under variable conditions, an increase in air RH caused a rise in parameter L* as well as values of a* and b*.

Table 2 Color parameters measured by CIE L*a*b* method in cocoa beans roasted under variable air flow rate
Table 3 Color parameters measured by CIE L*a*b* method in cocoa beans roasted under variable air temperature
Table 4 Color parameters measured by CIE L*a*b* method in cocoa beans roasted under variable air relative humidity

Reassuming, the deepest brown color of roasted cocoa beans from Togo (measured in CIE L*a*b* system) corresponding to the lowest value of parameter L* was observed when the beans were processed with humid air at 135 °C and when the air flow rate was ramped from 0.5 to 1 m s−1. The highest concentrations of red, yellow and brown pigments were observed after roasting with humid air at 150 °C and growing air flow rate (from 0.5 to 1 m s−1) (Table 2).

Determination of MR index

For raw cocoa beans tested in this study, the index of Maillard reactions products (MR index) was 0.78 (Fig. 6).

Fig. 6
figure 6

The dependence of Maillard compounds index on conditions of cocoa beans roasting; mean ± SD; n = 9

This index was higher for cocoa beans roasted with dry air under constant conditions, in particular when v = 0.5 m s−1 (Fig. 6). The latter were processed longer than cocoa beans treated with air flowing at v = 1 m s−1. The consequence of application of humid air (RH = 5 g 100 g−1) instead of dry air (RH = 0.3 g 100 g−1) was lower value of MR index. This indicates that the amount of products of high molecular weight which are water soluble, have a brown color and are measured by the absorbance at 420 nm is lower in case of beans roasted with humid air.

When the air flow rate was ramped during roasting, MR index value has increased in cocoa beans roasted with dry air at 135 °C in comparison with the value of this index indicated in roasted beans at fixed conditions. Roasting with dry air at 150 °C resulted in a greater increase in the MR index despite the shorter time of thermal processing with an exception of processing at 150 °C when the air flow rate was decreased from 1 to 0.5 m s−1. Cocoa beans roasted with humid air under the latter conditions of temperature and flow rate contained higher MR index than those roasted with dry air. In this case, roasting with humid air was by 5 min longer compared to roasting with dry air (to achieve 2 g 100 g−1 humidity of nibs in both process variants). This relatively small difference in time of processing is thought to be insufficient to cause substantial changes in the composition of soluble brown compounds in cocoa beans.

Analysis of effects caused by changes in air flow rate during roasting (either from 1 to 0.5 or from 0.5 to 1 m s−1) shows that MR index was higher when the rate was reduced from 1 to 0.5 m s−1. It suggests that the higher air flow rate in the first phase of roasting stimulated pigments formation.

When the variable parameter was temperature of roasting air, MR index was higher when it was increased from 135 to 150 °C, presumably because of the longer processing of cocoa beans compared to the variant in which the temperature was decreased from 150 to 135 °C. In both variants of temperature profiles, MR index was higher during roasting with dry air (RH = 0.3 g 100 g−1). It suggests that dry air and low water content inside the cocoa beans stimulate browning reactions.

When the variable parameter was relative humidity of roasting air, MR index was higher when roasting was conducted at the lower temperature (135 °C). At the higher temperature (150 °C), brown substances produced during roasting are presumably less soluble in water than those formed at lower temperature which leads to lower brown color intensity in extracts.

The MR index in all the tested samples of roasted cocoa beans ranged between 0.86 and 2.48 (Fig. 6). It achieved the highest values in samples roasted under the following conditions:

T = 150 °C RH = 0.3 g 100 g−1 v = 0.5 m s−1 (2.48), RH = 0.3 g 100 g−1 v = 1 m s−1 T 1 = 135 °C T 2 = 150 °C (2.21) and T = 135 °C RH = 0.3 g 100 g−1 v = 0.5 m s−1 (2.12). The comparison of this index values with results of the other color measurements shows that they are consistent for samples with the deepest brown color with an exception of values of F1/F3 ratio (Fig. 5).

Quantification of total polyphenols

The content of polyphenols in cocoa beans depends not only on the species of bean, but also on the country of origin, growing conditions as well as the conditions and the time of fermentation and subsequent drying of the beans. For example, Hii et al. [12] studied the effect of drying methods of beans after fermentation in wooden boxes on a total polyphenol content. This parameter, depending on the method of drying, ranged from 61.81 to 88.45 mg g−1. In these studies, freeze-dried samples contained the highest polyphenol content due to the inactive enzymatic activity. In the sun-dried beans, the lowest total polyphenol content was determined due to the lower temperature profile and longer drying process. Bonvehi and Coll [5] studied changes in polyphenol content of six different samples of cocoa beans during the 8 days of fermentation. They observed that the concentration of above-mentioned compounds stabilized after about 6 days and averaged 43.1 mg g−1 [5, 12, 14, 31]. Further processing stage of cocoa beans, in particular alkalization (60 % loss of all polyphenols) and roasting cause further loss of polyphenols. For example, roasting of beans at a temperature of 127–150 °C for 30 min results in 60 % reduction in procyanidins, while raising the temperature to 180 °C results in 80 % degradation of these compounds [1, 14].

In the present study, total polyphenol contents in raw and roasted cocoa beans (processed under tested conditions) are shown in Fig. 7. Raw cocoa beans contained approximately 18.73 g 100 g−1 polyphenols, while in roasted ones their level ranged between 4.75 and 18.35 g 100 g−1. Studies of changes in the concentration of different fractions of polyphenols in un-roasted and roasted (120 °C, 45 min) cocoa liquor were conducted by Misnawi, Jinap, Jamilah and Nazamid [21]. The total reduction in these components was about 20 % of polyphenols of all fractions. In the present study, reduction in the concentration of polyphenols in cocoa beans was different, namely from about 2 to about 75 %, depending on the roasting conditions.

Fig. 7
figure 7

Total polyphenols content (determined by F–C method) as a function of cocoa beans roasting conditions; mean ± SD; n = 9

When roasting was conducted under constant conditions, more polyphenols were left in cocoa beans treated at the higher air flow rate (1 m s−1) compared to those processed at v = 0.5 m s−1. Also processing with humid air (instead of dry air) and the temperature of 135 °C (instead of 150 °C) were favorable for their level.

Lesser losses of polyphenols were observed in cocoa beans processed under variable conditions, in particular at RH = 5 g 100 g−1 and 135 °C when the air flow rate was decreased from 1 to 0.5 m s−1. Cocoa beans roasted under the latter conditions contained almost the same amount of polyphenols (18.35 g 100 g−1) as raw cocoa beans. When the variable parameter was the air flow rate (either decreased from 1 to 0.5 or elevated from 0.5 to 1 m s−1) or the temperature of humid air was ramped from 135 to 150 °C, more polyphenols remained after roasting compared to processing with dry air. By contrast, a decrease in temperature of humid air from 150 to 135 °C caused higher losses of polyphenols (to 13.98 g 100 g−1) compared to treatment with dry air (to 15.59 g 100 g−1). When the variable parameter was the relative air humidity, more polyphenols remained after roasting at the lower temperature like after roasting under constant conditions.

Estimation of the relationship between changes in total polyphenols level and roasting conditions showed that the higher process temperature and the lower RH and v stimulate degradation of these substances in Forastero cocoa beans from Togo. The highest concentration of health promoting polyphenols, determined as total polyphenols by F–C method, was found in cocoa beans processed with humid air at 135 °C when the air flow rate was decreased from 1 to 0.5 m s−1. The presence of polyphenols in cocoa beans affects their color, and the darker beans contain more polyphenols. The highest total polyphenol level was found in the sample containing the highest amount of pigments, which were quantified through extraction (the high OD value for II and III variants of extraction conditions—Fig. 2) also when it was followed by separation of pigment fractions and determination of the browning index describing the progress of roasting process (F1/F3 = 0.32 which is close to the border value of 0.3—Fig. 5) and color parameters measurements in system CIE L*a*b* (one of the highest values of b, which corresponds to the content of yellow pigments—Table 2, No XVI).

Conclusion

Presented in this work methods of color determination have been used to estimate the progress of browning of cocoa beans during their roasting. Results of assays of color parameters are consistent in many cases in terms of distinguishing between most or least roasted cocoa beans. The choice of analytical method enabling estimation of the color of cocoa beans depends on information which has to be revealed. In many cases, using a CIE L*a*b* system or spectrophotometric assay determining the content of Maillard reactions products allows for estimation of the color change of roasted beans. Other cases require more advanced analytical methods, such as extraction method combined with the colorimetric determination of fractions of pigments. Among extraction methods, the one presented in paragraph 2.4. Methods (variant II) may be recommended mainly due to its simplicity and used chemicals.

Results obtained within the scope of this study provide evidence that in general, cocoa beans of Forastero variety from Togo have better color parameters when their roasting is conducted at 135 °C (compared to results of roasting at 150 °C) regardless of the method of color determination. Both under constant and variable process parameters, an increase in the relative humidity of roasting air from 0.3 to 5 g 100 g−1 resulted in the deeper brown coloration and higher total polyphenols content of cocoa beans. Only the values of MR index are inconsistent with this conclusion.

Conducted studies used to select roasting method takes into account the change of color in the desired direction. When roasted cocoa beans are used in fabrication of chocolate, the CIE L*a*b* method is suitable for determination of their color because roasting conditions should ensure low values of parameter L. In contrast, roasted cocoa beans which are used to produce powdered cocoa that is consumed in the form of brews have to contain extractable pigments ensuring the suitable color of drinks. In the latter case, the progress of roasting should be monitored by pigment extraction.