The colors of the project are defined in MediaWiki:Common.css. You can use the different CSS classes for text and background as follows:
| CSS class name | 
hex code of the color | 
Example
 | 
| cd-background-darkgreen | 
#2e520b
 | 
darkgreen
 | 
| cd-background-lightgreen | 
#c5cfb6
 | 
lightgreen
 | 
| cd-background-brown | 
#9a846d
 | 
brown
 | 
| cd-background-beige | 
#f4f5f6
 | 
beige
 | 
| cd-background-yellow | 
#dfac40
 | 
yellow
 | 
| CSS class name | 
hex code of the color | 
Example
 | 
| cd-text-darkgreen | 
#2e520b
 | 
darkgreen
 | 
| cd-text-lightgreen | 
#c5cfb6
 | 
lightgreen
 | 
| cd-text-brown | 
#9a846d
 | 
brown
 | 
| cd-text-beige | 
#f4f5f6
 | 
beige
 | 
| cd-text-yellow | 
#dfac40
 | 
yellow
 |