Generated palette
Forest Green Palette
Forest Green Palette: #228B22, #8C228C, #578C22, #228C57. Check roles, contrast and CSS variables; open source-color links and JSON.
Forest Green Palette assigns primary #228B22, secondary #8C228C, surface #578C22, background #228C57, accent #000000. The set spans Green, Pink, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000000 at 0 to #578C22 at 0.209; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Forest Green Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#228B22Forest Green#8C228C#8C228C#578C22#578C22#228C57#228C57#000000BlackCSS Variables
--palette-forest-green-primary: #228B22; --palette-forest-green-secondary: #8C228C; --palette-forest-green-surface: #578C22; --palette-forest-green-background: #228C57; --palette-forest-green-accent: #000000;
Accessibility Snapshot
Compare all 5 Forest Green Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Forest Green Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Forest Green Palette Data (JSON)
Structured palette data for Forest Green Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured sections
Roles
[
{
"role": "primary",
"hex": "#228B22",
"name": "Forest Green"
},
{
"role": "secondary",
"hex": "#8C228C",
"name": "#8C228C"
},
{
"role": "surface",
"hex": "#578C22",
"name": "#578C22"
},
{
"role": "background",
"hex": "#228C57",
"name": "#228C57"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#228B22",
"name": "Forest Green",
"blackContrast": 4.78,
"whiteContrast": 4.39,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#8C228C",
"name": "#8C228C",
"blackContrast": 2.72,
"whiteContrast": 7.71,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#578C22",
"name": "#578C22",
"blackContrast": 5.18,
"whiteContrast": 4.05,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#228C57",
"name": "#228C57",
"blackContrast": 4.96,
"whiteContrast": 4.24,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"forest green palette",
"generated palette",
"green palette",
"pink palette",
"gray palette",
"earth tone palette",
"jewel tone palette",
"balanced palette",
"dark palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"wellness and botanical palettes"
]CSS variables
"--palette-forest-green-primary: #228B22;\n--palette-forest-green-secondary: #8C228C;\n--palette-forest-green-surface: #578C22;\n--palette-forest-green-background: #228C57;\n--palette-forest-green-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "forest-green",
"name": "Forest Green Palette",
"type": "generated",
"sourceColor": "forest-green",
"description": "Generated palette built from Forest Green, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Forest Green Palette combines primary #228B22, secondary #8C228C, surface #578C22, background #228C57, accent #000000. According to Colors Encyclopedia, the palette works as a green palette, pink palette, gray palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
"semanticGroups": [
"forest green palette",
"generated palette",
"green palette",
"pink palette",
"gray palette",
"earth tone palette",
"jewel tone palette",
"balanced palette",
"dark palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"wellness and botanical palettes"
],
"colors": [
{
"role": "primary",
"hex": "#228B22",
"slug": "forest-green",
"name": "Forest Green",
"rgb": [
34,
139,
34
],
"hsl": [
120,
61,
34
],
"cmyk": [
76,
0,
76,
45
],
"family": "green",
"temperature": "cool",
"tone": [
"earth-tone",
"jewel-tone"
],
"luminance": 0.1892,
"contrast": {
"black": 4.78,
"white": 4.39
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/forest-green/"
},
{
"role": "secondary",
"hex": "#8C228C",
"slug": null,
"name": "#8C228C",
"rgb": [
140,
34,
140
],
"hsl": [
300,
61,
34
],
"cmyk": [
0,
76,
0,
45
],
"family": "pink",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0861,
"contrast": {
"black": 2.72,
"white": 7.71
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "surface",
"hex": "#578C22",
"slug": null,
"name": "#578C22",
"rgb": [
87,
140,
34
],
"hsl": [
90,
61,
34
],
"cmyk": [
38,
0,
76,
45
],
"family": "green",
"temperature": "cool",
"tone": [
"earth-tone",
"jewel-tone"
],
"luminance": 0.209,
"contrast": {
"black": 5.18,
"white": 4.05
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#228C57",
"slug": null,
"name": "#228C57",
"rgb": [
34,
140,
87
],
"hsl": [
150,
61,
34
],
"cmyk": [
76,
0,
38,
45
],
"family": "green",
"temperature": "cool",
"tone": [
"earth-tone",
"jewel-tone"
],
"luminance": 0.1978,
"contrast": {
"black": 4.96,
"white": 4.24
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": null
},
{
"role": "accent",
"hex": "#000000",
"slug": "black",
"name": "Black",
"rgb": [
0,
0,
0
],
"hsl": [
0,
0,
0
],
"cmyk": [
0,
0,
0,
100
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark",
"neutral"
],
"luminance": 0,
"contrast": {
"black": 1,
"white": 21
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/black/"
}
],
"roles": [
{
"role": "primary",
"hex": "#228B22",
"name": "Forest Green"
},
{
"role": "secondary",
"hex": "#8C228C",
"name": "#8C228C"
},
{
"role": "surface",
"hex": "#578C22",
"name": "#578C22"
},
{
"role": "background",
"hex": "#228C57",
"name": "#228C57"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#228B22",
"name": "Forest Green",
"blackContrast": 4.78,
"whiteContrast": 4.39,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#8C228C",
"name": "#8C228C",
"blackContrast": 2.72,
"whiteContrast": 7.71,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#578C22",
"name": "#578C22",
"blackContrast": 5.18,
"whiteContrast": 4.05,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#228C57",
"name": "#228C57",
"blackContrast": 4.96,
"whiteContrast": 4.24,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-forest-green-primary: #228B22;\n--palette-forest-green-secondary: #8C228C;\n--palette-forest-green-surface: #578C22;\n--palette-forest-green-background: #228C57;\n--palette-forest-green-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/forest-green.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/forest-green.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/forest-green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/forest-green.json"
}