Generated palette
Olive Palette
Olive Palette: #808000, #000080, #804000, #408000. Check roles, contrast and CSS variables; open source-color links and JSON.
Olive Palette assigns primary #808000, secondary #000080, surface #804000, background #408000, accent #000000. The set spans Yellow, Blue, Orange, and Green families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #808000 at 0.2003; black gives higher contrast on 1 of 5 values.
Palette Color Roles
Olive Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#808000Olive#000080Navy Blue#804000#804000#408000#408000#000000BlackCSS Variables
--palette-olive-primary: #808000; --palette-olive-secondary: #000080; --palette-olive-surface: #804000; --palette-olive-background: #408000; --palette-olive-accent: #000000;
Accessibility Snapshot
Compare all 5 Olive Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Olive Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Olive Palette Data (JSON)
Structured palette data for Olive 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": "#808000",
"name": "Olive"
},
{
"role": "secondary",
"hex": "#000080",
"name": "Navy Blue"
},
{
"role": "surface",
"hex": "#804000",
"name": "#804000"
},
{
"role": "background",
"hex": "#408000",
"name": "#408000"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#808000",
"name": "Olive",
"blackContrast": 5.01,
"whiteContrast": 4.19,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#000080",
"name": "Navy Blue",
"blackContrast": 1.31,
"whiteContrast": 16.01,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#804000",
"name": "#804000",
"blackContrast": 2.65,
"whiteContrast": 7.92,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#408000",
"name": "#408000",
"blackContrast": 4.31,
"whiteContrast": 4.88,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"olive palette",
"generated palette",
"yellow palette",
"blue palette",
"orange palette",
"green palette",
"gray palette",
"balanced palette",
"dark palette",
"classic palette",
"jewel tone palette",
"neutral palette",
"warm palette",
"cool palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes",
"calm digital interfaces"
]CSS variables
"--palette-olive-primary: #808000;\n--palette-olive-secondary: #000080;\n--palette-olive-surface: #804000;\n--palette-olive-background: #408000;\n--palette-olive-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "olive",
"name": "Olive Palette",
"type": "generated",
"sourceColor": "olive",
"description": "Generated palette built from Olive, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Olive Palette combines primary #808000, secondary #000080, surface #804000, background #408000, accent #000000. According to Colors Encyclopedia, the palette works as a yellow palette, blue palette, orange 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": [
"olive palette",
"generated palette",
"yellow palette",
"blue palette",
"orange palette",
"green palette",
"gray palette",
"balanced palette",
"dark palette",
"classic palette",
"jewel tone palette",
"neutral palette",
"warm palette",
"cool palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#808000",
"slug": "olive",
"name": "Olive",
"rgb": [
128,
128,
0
],
"hsl": [
60,
100,
25
],
"cmyk": [
0,
0,
100,
50
],
"family": "yellow",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.2003,
"contrast": {
"black": 5.01,
"white": 4.19
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/olive/"
},
{
"role": "secondary",
"hex": "#000080",
"slug": "navy-blue",
"name": "Navy Blue",
"rgb": [
0,
0,
128
],
"hsl": [
240,
100,
25
],
"cmyk": [
100,
100,
0,
50
],
"family": "blue",
"temperature": "cool",
"tone": [
"dark",
"classic"
],
"luminance": 0.0156,
"contrast": {
"black": 1.31,
"white": 16.01
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/navy-blue/"
},
{
"role": "surface",
"hex": "#804000",
"slug": null,
"name": "#804000",
"rgb": [
128,
64,
0
],
"hsl": [
30,
100,
25
],
"cmyk": [
0,
50,
100,
50
],
"family": "orange",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0826,
"contrast": {
"black": 2.65,
"white": 7.92
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"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": "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": "#808000",
"name": "Olive"
},
{
"role": "secondary",
"hex": "#000080",
"name": "Navy Blue"
},
{
"role": "surface",
"hex": "#804000",
"name": "#804000"
},
{
"role": "background",
"hex": "#408000",
"name": "#408000"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#808000",
"name": "Olive",
"blackContrast": 5.01,
"whiteContrast": 4.19,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#000080",
"name": "Navy Blue",
"blackContrast": 1.31,
"whiteContrast": 16.01,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#804000",
"name": "#804000",
"blackContrast": 2.65,
"whiteContrast": 7.92,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#408000",
"name": "#408000",
"blackContrast": 4.31,
"whiteContrast": 4.88,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-olive-primary: #808000;\n--palette-olive-secondary: #000080;\n--palette-olive-surface: #804000;\n--palette-olive-background: #408000;\n--palette-olive-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/olive.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/olive.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/olive/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/olive.json"
}