Generated palette
Green Palette
Green Palette: #008000, #80007F, #408000, #008040. Check roles, contrast and CSS variables; open source-color links and JSON.
Green Palette assigns primary #008000, secondary #80007F, surface #408000, background #008040, accent #FFFFFF. The set spans Green, Pink, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #80007F at 0.0612 to #FFFFFF at 1; black gives higher contrast on 1 of 5 values.
Palette Color Roles
Green Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#008000Green#80007F#80007F#408000#408000#008040#008040#FFFFFFWhiteCSS Variables
--palette-green-primary: #008000; --palette-green-secondary: #80007F; --palette-green-surface: #408000; --palette-green-background: #008040; --palette-green-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Green Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Green Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Green Palette Data (JSON)
Structured palette data for 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": "#008000",
"name": "Green"
},
{
"role": "secondary",
"hex": "#80007F",
"name": "#80007F"
},
{
"role": "surface",
"hex": "#408000",
"name": "#408000"
},
{
"role": "background",
"hex": "#008040",
"name": "#008040"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#008000",
"name": "Green",
"blackContrast": 4.09,
"whiteContrast": 5.14,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#80007F",
"name": "#80007F",
"blackContrast": 2.22,
"whiteContrast": 9.44,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#408000",
"name": "#408000",
"blackContrast": 4.31,
"whiteContrast": 4.88,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#008040",
"name": "#008040",
"blackContrast": 4.16,
"whiteContrast": 5.05,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
]Semantic groups
[
"green palette",
"generated palette",
"pink palette",
"gray palette",
"jewel tone palette",
"balanced palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes"
]CSS variables
"--palette-green-primary: #008000;\n--palette-green-secondary: #80007F;\n--palette-green-surface: #408000;\n--palette-green-background: #008040;\n--palette-green-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "green",
"name": "Green Palette",
"type": "generated",
"sourceColor": "green",
"description": "Generated palette built from Green, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Green Palette combines primary #008000, secondary #80007F, surface #408000, background #008040, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a pink palette, gray palette, jewel tone 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": [
"green palette",
"generated palette",
"pink palette",
"gray palette",
"jewel tone palette",
"balanced palette",
"light palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes"
],
"colors": [
{
"role": "primary",
"hex": "#008000",
"slug": "green",
"name": "Green",
"rgb": [
0,
128,
0
],
"hsl": [
120,
100,
25
],
"cmyk": [
100,
0,
100,
50
],
"family": "green",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.1544,
"contrast": {
"black": 4.09,
"white": 5.14
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/green/"
},
{
"role": "secondary",
"hex": "#80007F",
"slug": null,
"name": "#80007F",
"rgb": [
128,
0,
127
],
"hsl": [
300,
100,
25
],
"cmyk": [
0,
100,
1,
50
],
"family": "pink",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0612,
"contrast": {
"black": 2.22,
"white": 9.44
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "surface",
"hex": "#408000",
"slug": null,
"name": "#408000",
"rgb": [
64,
128,
0
],
"hsl": [
90,
100,
25
],
"cmyk": [
50,
0,
100,
50
],
"family": "green",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.1653,
"contrast": {
"black": 4.31,
"white": 4.88
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#008040",
"slug": null,
"name": "#008040",
"rgb": [
0,
128,
64
],
"hsl": [
150,
100,
25
],
"cmyk": [
100,
0,
50,
50
],
"family": "green",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.1581,
"contrast": {
"black": 4.16,
"white": 5.05
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": null
},
{
"role": "accent",
"hex": "#FFFFFF",
"slug": "white",
"name": "White",
"rgb": [
255,
255,
255
],
"hsl": [
0,
0,
100
],
"cmyk": [
0,
0,
0,
0
],
"family": "gray",
"temperature": "neutral",
"tone": [
"light",
"neutral"
],
"luminance": 1,
"contrast": {
"black": 21,
"white": 1
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": "https://www.colorsencyclopedia.com/colors/white/"
}
],
"roles": [
{
"role": "primary",
"hex": "#008000",
"name": "Green"
},
{
"role": "secondary",
"hex": "#80007F",
"name": "#80007F"
},
{
"role": "surface",
"hex": "#408000",
"name": "#408000"
},
{
"role": "background",
"hex": "#008040",
"name": "#008040"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#008000",
"name": "Green",
"blackContrast": 4.09,
"whiteContrast": 5.14,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#80007F",
"name": "#80007F",
"blackContrast": 2.22,
"whiteContrast": 9.44,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#408000",
"name": "#408000",
"blackContrast": 4.31,
"whiteContrast": 4.88,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#008040",
"name": "#008040",
"blackContrast": 4.16,
"whiteContrast": 5.05,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
],
"cssVariables": "--palette-green-primary: #008000;\n--palette-green-secondary: #80007F;\n--palette-green-surface: #408000;\n--palette-green-background: #008040;\n--palette-green-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/green.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/green.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/green.json"
}