Generated palette

Forest Green Palette

Forest Green Palette is a generated palette built from #228B22, #8C228C, #578C22, #228C57. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

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.

5colors
Green palettedominant group
6use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#228B22Forest Green
Secondary#8C228C#8C228C
Surface#578C22#578C22
Background#228C57#228C57
Accent#000000Black

CSS 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

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#228B22
Black 4.78:1 · White 4.39:1
Best #000000
Secondary#8C228C
Black 2.72:1 · White 7.71:1
Best #FFFFFF
Surface#578C22
Black 5.18:1 · White 4.05:1
Best #000000
Background#228C57
Black 4.96:1 · White 4.24:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

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.

AI-Ready Dataset v1.0.0
Luminance0.1892
Black text4.78:1AA Pass
White text4.39:1AA Fail
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured 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": "https://www.colorsencyclopedia.com/hex/8c228c/"
    },
    {
      "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": "https://www.colorsencyclopedia.com/hex/578c22/"
    },
    {
      "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": "https://www.colorsencyclopedia.com/hex/228c57/"
    },
    {
      "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"
}