Generated palette
Chocolate Palette
Chocolate Palette: #D2691E, #1E87D2, #D21E2D, #D2C31E. Check roles, contrast and CSS variables; open source-color links and JSON.
Chocolate Palette assigns primary #D2691E, secondary #1E87D2, surface #D21E2D, background #D2C31E, accent #000000. The set spans Orange, Blue, Red, and Yellow families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #D2C31E at 0.5283; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Chocolate Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#D2691ECinnamon#1E87D2#1E87D2#D21E2D#D21E2D#D2C31E#D2C31E#000000BlackCSS Variables
--palette-chocolate-primary: #D2691E; --palette-chocolate-secondary: #1E87D2; --palette-chocolate-surface: #D21E2D; --palette-chocolate-background: #D2C31E; --palette-chocolate-accent: #000000;
Accessibility Snapshot
Compare all 5 Chocolate Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Chocolate Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Chocolate Palette Data (JSON)
Structured palette data for Chocolate 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": "#D2691E",
"name": "Cinnamon"
},
{
"role": "secondary",
"hex": "#1E87D2",
"name": "#1E87D2"
},
{
"role": "surface",
"hex": "#D21E2D",
"name": "#D21E2D"
},
{
"role": "background",
"hex": "#D2C31E",
"name": "#D2C31E"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#D2691E",
"name": "Cinnamon",
"blackContrast": 5.78,
"whiteContrast": 3.63,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#1E87D2",
"name": "#1E87D2",
"blackContrast": 5.45,
"whiteContrast": 3.85,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#D21E2D",
"name": "#D21E2D",
"blackContrast": 3.96,
"whiteContrast": 5.3,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#D2C31E",
"name": "#D2C31E",
"blackContrast": 11.57,
"whiteContrast": 1.82,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A"
]
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"chocolate palette",
"generated palette",
"orange palette",
"blue palette",
"red palette",
"yellow palette",
"gray palette",
"vibrant palette",
"dark palette",
"neutral palette",
"warm palette",
"cool palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"calm digital interfaces"
]CSS variables
"--palette-chocolate-primary: #D2691E;\n--palette-chocolate-secondary: #1E87D2;\n--palette-chocolate-surface: #D21E2D;\n--palette-chocolate-background: #D2C31E;\n--palette-chocolate-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "chocolate",
"name": "Chocolate Palette",
"type": "generated",
"sourceColor": "chocolate",
"description": "Generated palette built from Chocolate, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Chocolate Palette combines primary #D2691E, secondary #1E87D2, surface #D21E2D, background #D2C31E, accent #000000. According to Colors Encyclopedia, the palette works as a orange palette, blue palette, red 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": [
"chocolate palette",
"generated palette",
"orange palette",
"blue palette",
"red palette",
"yellow palette",
"gray palette",
"vibrant palette",
"dark palette",
"neutral palette",
"warm palette",
"cool palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#D2691E",
"slug": "cinnamon",
"name": "Cinnamon",
"rgb": [
210,
105,
30
],
"hsl": [
25,
75,
47
],
"cmyk": [
0,
50,
86,
18
],
"family": "orange",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.239,
"contrast": {
"black": 5.78,
"white": 3.63
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/cinnamon/"
},
{
"role": "secondary",
"hex": "#1E87D2",
"slug": null,
"name": "#1E87D2",
"rgb": [
30,
135,
210
],
"hsl": [
205,
75,
47
],
"cmyk": [
86,
36,
0,
18
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.2226,
"contrast": {
"black": 5.45,
"white": 3.85
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": []
},
"url": null
},
{
"role": "surface",
"hex": "#D21E2D",
"slug": null,
"name": "#D21E2D",
"rgb": [
210,
30,
45
],
"hsl": [
355,
75,
47
],
"cmyk": [
0,
86,
79,
18
],
"family": "red",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.1482,
"contrast": {
"black": 3.96,
"white": 5.3
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#D2C31E",
"slug": null,
"name": "#D2C31E",
"rgb": [
210,
195,
30
],
"hsl": [
55,
75,
47
],
"cmyk": [
0,
7,
86,
18
],
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.5283,
"contrast": {
"black": 11.57,
"white": 1.82
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"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": "#D2691E",
"name": "Cinnamon"
},
{
"role": "secondary",
"hex": "#1E87D2",
"name": "#1E87D2"
},
{
"role": "surface",
"hex": "#D21E2D",
"name": "#D21E2D"
},
{
"role": "background",
"hex": "#D2C31E",
"name": "#D2C31E"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#D2691E",
"name": "Cinnamon",
"blackContrast": 5.78,
"whiteContrast": 3.63,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#1E87D2",
"name": "#1E87D2",
"blackContrast": 5.45,
"whiteContrast": 3.85,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#D21E2D",
"name": "#D21E2D",
"blackContrast": 3.96,
"whiteContrast": 5.3,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#D2C31E",
"name": "#D2C31E",
"blackContrast": 11.57,
"whiteContrast": 1.82,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A"
]
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-chocolate-primary: #D2691E;\n--palette-chocolate-secondary: #1E87D2;\n--palette-chocolate-surface: #D21E2D;\n--palette-chocolate-background: #D2C31E;\n--palette-chocolate-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/chocolate.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/chocolate.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/chocolate/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/chocolate.json"
}