Generated palette
Moss Green Palette
Moss Green Palette: #8A9A5B, #6A5B9A, #9A8A5B, #6A9A5B. Check roles, contrast and CSS variables; open source-color links and JSON.
Moss Green Palette assigns primary #8A9A5B, secondary #6A5B9A, surface #9A8A5B, background #6A9A5B, accent #000000. The set spans Green, Blue, Yellow, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000000 at 0 to #8A9A5B at 0.2927; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Moss Green Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#8A9A5BMoss Green#6A5B9A#6A5B9A#9A8A5B#9A8A5B#6A9A5B#6A9A5B#000000BlackCSS Variables
--palette-moss-green-primary: #8A9A5B; --palette-moss-green-secondary: #6A5B9A; --palette-moss-green-surface: #9A8A5B; --palette-moss-green-background: #6A9A5B; --palette-moss-green-accent: #000000;
Accessibility Snapshot
Compare all 5 Moss Green Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Moss Green Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Moss Green Palette Data (JSON)
Structured palette data for Moss 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": "#8A9A5B",
"name": "Moss Green"
},
{
"role": "secondary",
"hex": "#6A5B9A",
"name": "#6A5B9A"
},
{
"role": "surface",
"hex": "#9A8A5B",
"name": "#9A8A5B"
},
{
"role": "background",
"hex": "#6A9A5B",
"name": "#6A9A5B"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#8A9A5B",
"name": "Moss Green",
"blackContrast": 6.85,
"whiteContrast": 3.06,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#6A5B9A",
"name": "#6A5B9A",
"blackContrast": 3.58,
"whiteContrast": 5.87,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#9A8A5B",
"name": "#9A8A5B",
"blackContrast": 6.16,
"whiteContrast": 3.41,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#6A9A5B",
"name": "#6A9A5B",
"blackContrast": 6.39,
"whiteContrast": 3.29,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"moss green palette",
"generated palette",
"green palette",
"blue palette",
"yellow palette",
"gray palette",
"muted palette",
"earth tone palette",
"dark palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"quiet UI themes",
"natural branding",
"wellness and botanical palettes"
]CSS variables
"--palette-moss-green-primary: #8A9A5B;\n--palette-moss-green-secondary: #6A5B9A;\n--palette-moss-green-surface: #9A8A5B;\n--palette-moss-green-background: #6A9A5B;\n--palette-moss-green-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "moss-green",
"name": "Moss Green Palette",
"type": "generated",
"sourceColor": "moss-green",
"description": "Generated palette built from Moss Green, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Moss Green Palette combines primary #8A9A5B, secondary #6A5B9A, surface #9A8A5B, background #6A9A5B, accent #000000. According to Colors Encyclopedia, the palette works as a green palette, blue palette, yellow 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": [
"moss green palette",
"generated palette",
"green palette",
"blue palette",
"yellow palette",
"gray palette",
"muted palette",
"earth tone palette",
"dark palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"quiet UI themes",
"natural branding",
"wellness and botanical palettes"
],
"colors": [
{
"role": "primary",
"hex": "#8A9A5B",
"slug": "moss-green",
"name": "Moss Green",
"rgb": [
138,
154,
91
],
"hsl": [
75,
26,
48
],
"cmyk": [
10,
0,
41,
40
],
"family": "green",
"temperature": "cool",
"tone": [
"muted",
"earth-tone"
],
"luminance": 0.2927,
"contrast": {
"black": 6.85,
"white": 3.06
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/moss-green/"
},
{
"role": "secondary",
"hex": "#6A5B9A",
"slug": null,
"name": "#6A5B9A",
"rgb": [
106,
91,
154
],
"hsl": [
254,
26,
48
],
"cmyk": [
31,
41,
0,
40
],
"family": "blue",
"temperature": "cool",
"tone": [
"muted"
],
"luminance": 0.1288,
"contrast": {
"black": 3.58,
"white": 5.87
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": null
},
{
"role": "surface",
"hex": "#9A8A5B",
"slug": null,
"name": "#9A8A5B",
"rgb": [
154,
138,
91
],
"hsl": [
45,
26,
48
],
"cmyk": [
0,
10,
41,
40
],
"family": "yellow",
"temperature": "warm",
"tone": [
"muted",
"earth-tone"
],
"luminance": 0.258,
"contrast": {
"black": 6.16,
"white": 3.41
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#6A9A5B",
"slug": null,
"name": "#6A9A5B",
"rgb": [
106,
154,
91
],
"hsl": [
106,
26,
48
],
"cmyk": [
31,
0,
41,
40
],
"family": "green",
"temperature": "cool",
"tone": [
"muted",
"earth-tone"
],
"luminance": 0.2693,
"contrast": {
"black": 6.39,
"white": 3.29
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"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": "#8A9A5B",
"name": "Moss Green"
},
{
"role": "secondary",
"hex": "#6A5B9A",
"name": "#6A5B9A"
},
{
"role": "surface",
"hex": "#9A8A5B",
"name": "#9A8A5B"
},
{
"role": "background",
"hex": "#6A9A5B",
"name": "#6A9A5B"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#8A9A5B",
"name": "Moss Green",
"blackContrast": 6.85,
"whiteContrast": 3.06,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#6A5B9A",
"name": "#6A5B9A",
"blackContrast": 3.58,
"whiteContrast": 5.87,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#9A8A5B",
"name": "#9A8A5B",
"blackContrast": 6.16,
"whiteContrast": 3.41,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#6A9A5B",
"name": "#6A9A5B",
"blackContrast": 6.39,
"whiteContrast": 3.29,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-moss-green-primary: #8A9A5B;\n--palette-moss-green-secondary: #6A5B9A;\n--palette-moss-green-surface: #9A8A5B;\n--palette-moss-green-background: #6A9A5B;\n--palette-moss-green-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/moss-green.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/moss-green.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/moss-green/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/moss-green.json"
}