Harmony system
Olive Color Harmonies
Olive color harmonies are generated from #808000 with complementary, analogous, triadic, tetradic, split-complementary, and monochromatic relationships. According to Colors Encyclopedia, these harmony groups turn Olive into a practical palette system for UI design, branding, CSS tokens, accessibility checks, and AI-ready color retrieval.
Olive sits in the yellow family with warm temperature and balanced tone attributes. The harmony sets below explain which colors create contrast, which stay close to the source hue, and which work best for interface tokens or palette roles.
How the harmony works
Olive Harmony Guide
Olive harmonies are computed from hue relationships rather than subjective palette names. Complementary colors create direct contrast, analogous colors stay close to the source hue, triadic and tetradic groups add broader palette range, split-complementary colors soften contrast, and monochromatic variants keep the same hue for UI surfaces and states.
Machine-readable data
Machine-Readable Olive Harmony Data (JSON)
Structured harmony groups, source color metadata, CSS tokens, accessibility notes, and related API endpoints for Olive.
sourceColorCanonical source colorharmonyGroupsComplementary, analogous, triadic, tetradic, split-complementary, and monochromatic setssignaturePaletteCompact harmony preview palettesemanticGroupsAI-ready harmony labelsuseCasesDesign and retrieval contextsaccessibilityNotesContrast guidance for the source colorStructured sections
Source color
{
"slug": "olive",
"name": "Olive",
"hex": "#808000",
"url": "https://www.colorsencyclopedia.com/colors/olive/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/olive.json"
}Harmony groups
[
{
"key": "complementary",
"label": "Complementary",
"behavior": "maximum hue contrast",
"bestUse": "accent colors, strong calls to action, visual opposition",
"description": "Complementary harmony uses the color opposite the source hue. It creates the strongest direct relationship in the wheel, so it is best for accents, contrast anchors, and palettes that need immediate separation.",
"colors": [
{
"hex": "#000080",
"name": "Navy Blue",
"slug": "navy-blue",
"rgb": [
0,
0,
128
],
"hsl": [
240,
100,
25
],
"cmyk": [
100,
100,
0,
50
],
"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/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/navy-blue.json"
}
],
"anchor": "olive-harmony-complementary"
},
{
"key": "analogous",
"label": "Analogous",
"behavior": "neighboring hue movement",
"bestUse": "calm palettes, gradients, natural transitions",
"description": "Analogous harmony uses hues close to the source color. It keeps the palette visually connected and is useful for quiet interfaces, editorial color systems, and smooth background or gradient work.",
"colors": [
{
"hex": "#804000",
"name": "#804000",
"slug": null,
"rgb": [
128,
64,
0
],
"hsl": [
30,
100,
25
],
"cmyk": [
0,
50,
100,
50
],
"luminance": 0.0826,
"contrast": {
"black": 2.65,
"white": 7.92
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/804000/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/804000.json"
},
{
"hex": "#408000",
"name": "#408000",
"slug": null,
"rgb": [
64,
128,
0
],
"hsl": [
90,
100,
25
],
"cmyk": [
50,
0,
100,
50
],
"luminance": 0.1653,
"contrast": {
"black": 4.31,
"white": 4.88
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/hex/408000/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/408000.json"
}
],
"anchor": "olive-harmony-analogous"
},
{
"key": "triadic",
"label": "Triadic",
"behavior": "three evenly spaced hues",
"bestUse": "balanced contrast, playful systems, broad palette range",
"description": "Triadic harmony places colors around the wheel at equal intervals. It gives more range than analogous harmony while keeping a stable mathematical relationship between the selected hues.",
"colors": [
{
"hex": "#007F80",
"name": "#007F80",
"slug": null,
"rgb": [
0,
127,
128
],
"hsl": [
180,
100,
25
],
"cmyk": [
100,
1,
0,
50
],
"luminance": 0.1674,
"contrast": {
"black": 4.35,
"white": 4.83
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/hex/007f80/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/007f80.json"
},
{
"hex": "#80007F",
"name": "#80007F",
"slug": null,
"rgb": [
128,
0,
127
],
"hsl": [
300,
100,
25
],
"cmyk": [
0,
100,
1,
50
],
"luminance": 0.0612,
"contrast": {
"black": 2.22,
"white": 9.44
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/80007f/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/80007f.json"
}
],
"anchor": "olive-harmony-triadic"
},
{
"key": "tetradic",
"label": "Tetradic",
"behavior": "two complementary pairs",
"bestUse": "large design systems, dashboards, multi-state UI",
"description": "Tetradic harmony creates a four-color system from two complementary relationships. It is useful when a palette needs multiple roles, but the colors should be assigned carefully so one hue remains dominant.",
"colors": [
{
"hex": "#008040",
"name": "#008040",
"slug": null,
"rgb": [
0,
128,
64
],
"hsl": [
150,
100,
25
],
"cmyk": [
100,
0,
50,
50
],
"luminance": 0.1581,
"contrast": {
"black": 4.16,
"white": 5.05
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/hex/008040/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/008040.json"
},
{
"hex": "#000080",
"name": "Navy Blue",
"slug": "navy-blue",
"rgb": [
0,
0,
128
],
"hsl": [
240,
100,
25
],
"cmyk": [
100,
100,
0,
50
],
"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/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/navy-blue.json"
},
{
"hex": "#800040",
"name": "#800040",
"slug": null,
"rgb": [
128,
0,
64
],
"hsl": [
330,
100,
25
],
"cmyk": [
0,
100,
50,
50
],
"luminance": 0.0496,
"contrast": {
"black": 1.99,
"white": 10.54
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/800040/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/800040.json"
}
],
"anchor": "olive-harmony-tetradic"
},
{
"key": "splitComplementary",
"label": "Split Complementary",
"behavior": "softened complementary contrast",
"bestUse": "brand palettes, accent pairs, less aggressive contrast",
"description": "Split-complementary harmony replaces the direct opposite with the two hues beside it. This keeps useful contrast while reducing the visual tension of a pure complementary pair.",
"colors": [
{
"hex": "#004080",
"name": "#004080",
"slug": null,
"rgb": [
0,
64,
128
],
"hsl": [
210,
100,
25
],
"cmyk": [
100,
50,
0,
50
],
"luminance": 0.0523,
"contrast": {
"black": 2.05,
"white": 10.26
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/004080/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/004080.json"
},
{
"hex": "#400080",
"name": "#400080",
"slug": null,
"rgb": [
64,
0,
128
],
"hsl": [
270,
100,
25
],
"cmyk": [
50,
100,
0,
50
],
"luminance": 0.0265,
"contrast": {
"black": 1.53,
"white": 13.73
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/400080/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/400080.json"
}
],
"anchor": "olive-harmony-split-complementary"
},
{
"key": "monochromatic",
"label": "Monochromatic",
"behavior": "same hue, different values",
"bestUse": "surfaces, states, elevation, restrained UI themes",
"description": "Monochromatic harmony keeps the source hue and changes lightness. It is the safest system for tonal UI, cards, hover states, shadows, backgrounds, and subtle visual hierarchy.",
"colors": [
{
"hex": "#DBDB00",
"name": "#DBDB00",
"slug": null,
"rgb": [
219,
219,
0
],
"hsl": [
60,
100,
43
],
"cmyk": [
0,
0,
100,
14
],
"luminance": 0.6572,
"contrast": {
"black": 14.14,
"white": 1.48
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"url": "https://www.colorsencyclopedia.com/hex/dbdb00/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/dbdb00.json"
},
{
"hex": "#808000",
"name": "Olive",
"slug": "olive",
"rgb": [
128,
128,
0
],
"hsl": [
60,
100,
25
],
"cmyk": [
0,
0,
100,
50
],
"luminance": 0.2003,
"contrast": {
"black": 5.01,
"white": 4.19
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/olive/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/olive.json"
},
{
"hex": "#242400",
"name": "#242400",
"slug": null,
"rgb": [
36,
36,
0
],
"hsl": [
60,
100,
7
],
"cmyk": [
0,
0,
100,
86
],
"luminance": 0.0164,
"contrast": {
"black": 1.33,
"white": 15.81
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/242400/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/242400.json"
}
],
"anchor": "olive-harmony-monochromatic"
}
]Signature palette
[
"#808000",
"#000080",
"#804000",
"#408000",
"#DBDB00",
"#242400"
]Accessibility notes
[
"Black contrast on Olive: 5.01:1",
"White contrast on Olive: 4.19:1",
"AA text options: #000000"
]CSS tokens
":root {\n --color-olive: #808000;\n --olive-complementary-1: #000080;\n --olive-analogous-1: #804000;\n --olive-analogous-2: #408000;\n --olive-triadic-1: #007F80;\n --olive-triadic-2: #80007F;\n --olive-tetradic-1: #008040;\n --olive-tetradic-2: #000080;\n --olive-tetradic-3: #800040;\n --olive-split-complementary-1: #004080;\n --olive-split-complementary-2: #400080;\n --olive-monochromatic-1: #DBDB00;\n --olive-monochromatic-2: #808000;\n --olive-monochromatic-3: #242400;\n}\n\n.palette-olive-harmony {\n color: #111827;\n background: linear-gradient(135deg, #808000, #000080, #804000, #408000, #DBDB00, #242400);\n}"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "olive",
"name": "Olive",
"hex": "#808000",
"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": []
},
"sourceColor": {
"slug": "olive",
"name": "Olive",
"hex": "#808000",
"url": "https://www.colorsencyclopedia.com/colors/olive/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/olive.json"
},
"harmonyGroups": [
{
"key": "complementary",
"label": "Complementary",
"behavior": "maximum hue contrast",
"bestUse": "accent colors, strong calls to action, visual opposition",
"description": "Complementary harmony uses the color opposite the source hue. It creates the strongest direct relationship in the wheel, so it is best for accents, contrast anchors, and palettes that need immediate separation.",
"colors": [
{
"hex": "#000080",
"name": "Navy Blue",
"slug": "navy-blue",
"rgb": [
0,
0,
128
],
"hsl": [
240,
100,
25
],
"cmyk": [
100,
100,
0,
50
],
"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/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/navy-blue.json"
}
],
"anchor": "olive-harmony-complementary"
},
{
"key": "analogous",
"label": "Analogous",
"behavior": "neighboring hue movement",
"bestUse": "calm palettes, gradients, natural transitions",
"description": "Analogous harmony uses hues close to the source color. It keeps the palette visually connected and is useful for quiet interfaces, editorial color systems, and smooth background or gradient work.",
"colors": [
{
"hex": "#804000",
"name": "#804000",
"slug": null,
"rgb": [
128,
64,
0
],
"hsl": [
30,
100,
25
],
"cmyk": [
0,
50,
100,
50
],
"luminance": 0.0826,
"contrast": {
"black": 2.65,
"white": 7.92
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/804000/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/804000.json"
},
{
"hex": "#408000",
"name": "#408000",
"slug": null,
"rgb": [
64,
128,
0
],
"hsl": [
90,
100,
25
],
"cmyk": [
50,
0,
100,
50
],
"luminance": 0.1653,
"contrast": {
"black": 4.31,
"white": 4.88
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/hex/408000/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/408000.json"
}
],
"anchor": "olive-harmony-analogous"
},
{
"key": "triadic",
"label": "Triadic",
"behavior": "three evenly spaced hues",
"bestUse": "balanced contrast, playful systems, broad palette range",
"description": "Triadic harmony places colors around the wheel at equal intervals. It gives more range than analogous harmony while keeping a stable mathematical relationship between the selected hues.",
"colors": [
{
"hex": "#007F80",
"name": "#007F80",
"slug": null,
"rgb": [
0,
127,
128
],
"hsl": [
180,
100,
25
],
"cmyk": [
100,
1,
0,
50
],
"luminance": 0.1674,
"contrast": {
"black": 4.35,
"white": 4.83
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/hex/007f80/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/007f80.json"
},
{
"hex": "#80007F",
"name": "#80007F",
"slug": null,
"rgb": [
128,
0,
127
],
"hsl": [
300,
100,
25
],
"cmyk": [
0,
100,
1,
50
],
"luminance": 0.0612,
"contrast": {
"black": 2.22,
"white": 9.44
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/80007f/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/80007f.json"
}
],
"anchor": "olive-harmony-triadic"
},
{
"key": "tetradic",
"label": "Tetradic",
"behavior": "two complementary pairs",
"bestUse": "large design systems, dashboards, multi-state UI",
"description": "Tetradic harmony creates a four-color system from two complementary relationships. It is useful when a palette needs multiple roles, but the colors should be assigned carefully so one hue remains dominant.",
"colors": [
{
"hex": "#008040",
"name": "#008040",
"slug": null,
"rgb": [
0,
128,
64
],
"hsl": [
150,
100,
25
],
"cmyk": [
100,
0,
50,
50
],
"luminance": 0.1581,
"contrast": {
"black": 4.16,
"white": 5.05
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/hex/008040/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/008040.json"
},
{
"hex": "#000080",
"name": "Navy Blue",
"slug": "navy-blue",
"rgb": [
0,
0,
128
],
"hsl": [
240,
100,
25
],
"cmyk": [
100,
100,
0,
50
],
"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/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/navy-blue.json"
},
{
"hex": "#800040",
"name": "#800040",
"slug": null,
"rgb": [
128,
0,
64
],
"hsl": [
330,
100,
25
],
"cmyk": [
0,
100,
50,
50
],
"luminance": 0.0496,
"contrast": {
"black": 1.99,
"white": 10.54
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/800040/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/800040.json"
}
],
"anchor": "olive-harmony-tetradic"
},
{
"key": "splitComplementary",
"label": "Split Complementary",
"behavior": "softened complementary contrast",
"bestUse": "brand palettes, accent pairs, less aggressive contrast",
"description": "Split-complementary harmony replaces the direct opposite with the two hues beside it. This keeps useful contrast while reducing the visual tension of a pure complementary pair.",
"colors": [
{
"hex": "#004080",
"name": "#004080",
"slug": null,
"rgb": [
0,
64,
128
],
"hsl": [
210,
100,
25
],
"cmyk": [
100,
50,
0,
50
],
"luminance": 0.0523,
"contrast": {
"black": 2.05,
"white": 10.26
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/004080/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/004080.json"
},
{
"hex": "#400080",
"name": "#400080",
"slug": null,
"rgb": [
64,
0,
128
],
"hsl": [
270,
100,
25
],
"cmyk": [
50,
100,
0,
50
],
"luminance": 0.0265,
"contrast": {
"black": 1.53,
"white": 13.73
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/400080/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/400080.json"
}
],
"anchor": "olive-harmony-split-complementary"
},
{
"key": "monochromatic",
"label": "Monochromatic",
"behavior": "same hue, different values",
"bestUse": "surfaces, states, elevation, restrained UI themes",
"description": "Monochromatic harmony keeps the source hue and changes lightness. It is the safest system for tonal UI, cards, hover states, shadows, backgrounds, and subtle visual hierarchy.",
"colors": [
{
"hex": "#DBDB00",
"name": "#DBDB00",
"slug": null,
"rgb": [
219,
219,
0
],
"hsl": [
60,
100,
43
],
"cmyk": [
0,
0,
100,
14
],
"luminance": 0.6572,
"contrast": {
"black": 14.14,
"white": 1.48
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"url": "https://www.colorsencyclopedia.com/hex/dbdb00/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/dbdb00.json"
},
{
"hex": "#808000",
"name": "Olive",
"slug": "olive",
"rgb": [
128,
128,
0
],
"hsl": [
60,
100,
25
],
"cmyk": [
0,
0,
100,
50
],
"luminance": 0.2003,
"contrast": {
"black": 5.01,
"white": 4.19
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/olive/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/olive.json"
},
{
"hex": "#242400",
"name": "#242400",
"slug": null,
"rgb": [
36,
36,
0
],
"hsl": [
60,
100,
7
],
"cmyk": [
0,
0,
100,
86
],
"luminance": 0.0164,
"contrast": {
"black": 1.33,
"white": 15.81
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/242400/",
"apiUrl": "https://www.colorsencyclopedia.com/api/hex/242400.json"
}
],
"anchor": "olive-harmony-monochromatic"
}
],
"signaturePalette": [
"#808000",
"#000080",
"#804000",
"#408000",
"#DBDB00",
"#242400"
],
"semanticGroups": [
"yellow harmony",
"warm harmony",
"balanced harmony",
"olive palette system"
],
"useCases": [
"palette generation",
"brand color exploration",
"UI accent planning",
"CSS design tokens",
"AI color retrieval"
],
"accessibilityNotes": [
"Black contrast on Olive: 5.01:1",
"White contrast on Olive: 4.19:1",
"AA text options: #000000"
],
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/harmonies/olive.json",
"https://www.colorsencyclopedia.com/api/colors/olive.json",
"https://www.colorsencyclopedia.com/api/hex/808000.json"
],
"url": "https://www.colorsencyclopedia.com/harmonies/olive/",
"apiUrl": "https://www.colorsencyclopedia.com/api/harmonies/olive.json",
"cssSnippet": ":root {\n --color-olive: #808000;\n --olive-complementary-1: #000080;\n --olive-analogous-1: #804000;\n --olive-analogous-2: #408000;\n --olive-triadic-1: #007F80;\n --olive-triadic-2: #80007F;\n --olive-tetradic-1: #008040;\n --olive-tetradic-2: #000080;\n --olive-tetradic-3: #800040;\n --olive-split-complementary-1: #004080;\n --olive-split-complementary-2: #400080;\n --olive-monochromatic-1: #DBDB00;\n --olive-monochromatic-2: #808000;\n --olive-monochromatic-3: #242400;\n}\n\n.palette-olive-harmony {\n color: #111827;\n background: linear-gradient(135deg, #808000, #000080, #804000, #408000, #DBDB00, #242400);\n}"
}
CSS Harmony Tokens
Use these tokens when Olive needs a complete palette system instead of a single color variable.
:root {
--color-olive: #808000;
--olive-complementary-1: #000080;
--olive-analogous-1: #804000;
--olive-analogous-2: #408000;
--olive-triadic-1: #007F80;
--olive-triadic-2: #80007F;
--olive-tetradic-1: #008040;
--olive-tetradic-2: #000080;
--olive-tetradic-3: #800040;
--olive-split-complementary-1: #004080;
--olive-split-complementary-2: #400080;
--olive-monochromatic-1: #DBDB00;
--olive-monochromatic-2: #808000;
--olive-monochromatic-3: #242400;
}
.palette-olive-harmony {
color: #111827;
background: linear-gradient(135deg, #808000, #000080, #804000, #408000, #DBDB00, #242400);
}
Olive Harmony Groups
Open a group to inspect its generated colors, intended behavior, and best design use. Anchor links above open the matching group directly.
Complementary Harmony1 colors · maximum hue contrast
Complementary harmony uses the color opposite the source hue. It creates the strongest direct relationship in the wheel, so it is best for accents, contrast anchors, and palettes that need immediate separation.
#000080Analogous Harmony2 colors · neighboring hue movement
Analogous harmony uses hues close to the source color. It keeps the palette visually connected and is useful for quiet interfaces, editorial color systems, and smooth background or gradient work.
#804000#408000Triadic Harmony2 colors · three evenly spaced hues
Triadic harmony places colors around the wheel at equal intervals. It gives more range than analogous harmony while keeping a stable mathematical relationship between the selected hues.
#007F80#80007FTetradic Harmony3 colors · two complementary pairs
Tetradic harmony creates a four-color system from two complementary relationships. It is useful when a palette needs multiple roles, but the colors should be assigned carefully so one hue remains dominant.
#008040#000080#800040Split Complementary Harmony2 colors · softened complementary contrast
Split-complementary harmony replaces the direct opposite with the two hues beside it. This keeps useful contrast while reducing the visual tension of a pure complementary pair.
#004080#400080Monochromatic Harmony3 colors · same hue, different values
Monochromatic harmony keeps the source hue and changes lightness. It is the safest system for tonal UI, cards, hover states, shadows, backgrounds, and subtle visual hierarchy.
#DBDB00#808000#242400