Generated palette
Cedar Palette
Cedar Palette: #8B5A2B, #2B5D8C, #8C2B2D, #8C8B2B. Check roles, contrast and CSS variables; open source-color links and JSON.
Cedar Palette assigns primary #8B5A2B, secondary #2B5D8C, surface #8C2B2D, background #8C8B2B, accent #FFFFFF. The set spans Orange, Blue, Red, and Yellow families with warm, cool, and neutral temperatures. Luminance runs from #8C2B2D at 0.0749 to #FFFFFF at 1; black gives higher contrast on 2 of 5 values.
Palette Color Roles
Cedar Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#8B5A2BCedar#2B5D8C#2B5D8C#8C2B2D#8C2B2D#8C8B2B#8C8B2B#FFFFFFWhiteCSS Variables
--palette-cedar-primary: #8B5A2B; --palette-cedar-secondary: #2B5D8C; --palette-cedar-surface: #8C2B2D; --palette-cedar-background: #8C8B2B; --palette-cedar-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Cedar Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Cedar Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Cedar Palette Data (JSON)
Structured palette data for Cedar 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": "#8B5A2B",
"name": "Cedar"
},
{
"role": "secondary",
"hex": "#2B5D8C",
"name": "#2B5D8C"
},
{
"role": "surface",
"hex": "#8C2B2D",
"name": "#8C2B2D"
},
{
"role": "background",
"hex": "#8C8B2B",
"name": "#8C8B2B"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#8B5A2B",
"name": "Cedar",
"blackContrast": 3.6,
"whiteContrast": 5.84,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#2B5D8C",
"name": "#2B5D8C",
"blackContrast": 3.05,
"whiteContrast": 6.89,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#8C2B2D",
"name": "#8C2B2D",
"blackContrast": 2.5,
"whiteContrast": 8.41,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#8C8B2B",
"name": "#8C8B2B",
"blackContrast": 5.84,
"whiteContrast": 3.59,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
]Semantic groups
[
"cedar palette",
"generated palette",
"orange palette",
"blue palette",
"red palette",
"yellow palette",
"gray palette",
"earth tone palette",
"jewel tone palette",
"balanced palette",
"light palette",
"neutral palette",
"warm palette",
"cool palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"calm digital interfaces"
]CSS variables
"--palette-cedar-primary: #8B5A2B;\n--palette-cedar-secondary: #2B5D8C;\n--palette-cedar-surface: #8C2B2D;\n--palette-cedar-background: #8C8B2B;\n--palette-cedar-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "cedar",
"name": "Cedar Palette",
"type": "generated",
"sourceColor": "cedar",
"description": "Generated palette built from Cedar, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Cedar Palette combines primary #8B5A2B, secondary #2B5D8C, surface #8C2B2D, background #8C8B2B, accent #FFFFFF. 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": [
"cedar palette",
"generated palette",
"orange palette",
"blue palette",
"red palette",
"yellow palette",
"gray palette",
"earth tone palette",
"jewel tone palette",
"balanced palette",
"light palette",
"neutral palette",
"warm palette",
"cool palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#8B5A2B",
"slug": "cedar",
"name": "Cedar",
"rgb": [
139,
90,
43
],
"hsl": [
29,
53,
36
],
"cmyk": [
0,
35,
69,
45
],
"family": "orange",
"temperature": "warm",
"tone": [
"earth-tone"
],
"luminance": 0.1298,
"contrast": {
"black": 3.6,
"white": 5.84
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/cedar/"
},
{
"role": "secondary",
"hex": "#2B5D8C",
"slug": null,
"name": "#2B5D8C",
"rgb": [
43,
93,
140
],
"hsl": [
209,
53,
36
],
"cmyk": [
69,
34,
0,
45
],
"family": "blue",
"temperature": "cool",
"tone": [
"jewel-tone"
],
"luminance": 0.1024,
"contrast": {
"black": 3.05,
"white": 6.89
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"url": null
},
{
"role": "surface",
"hex": "#8C2B2D",
"slug": null,
"name": "#8C2B2D",
"rgb": [
140,
43,
45
],
"hsl": [
359,
53,
36
],
"cmyk": [
0,
69,
68,
45
],
"family": "red",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0749,
"contrast": {
"black": 2.5,
"white": 8.41
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#8C8B2B",
"slug": null,
"name": "#8C8B2B",
"rgb": [
140,
139,
43
],
"hsl": [
59,
53,
36
],
"cmyk": [
0,
1,
69,
45
],
"family": "yellow",
"temperature": "warm",
"tone": [
"earth-tone"
],
"luminance": 0.2422,
"contrast": {
"black": 5.84,
"white": 3.59
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"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": "#8B5A2B",
"name": "Cedar"
},
{
"role": "secondary",
"hex": "#2B5D8C",
"name": "#2B5D8C"
},
{
"role": "surface",
"hex": "#8C2B2D",
"name": "#8C2B2D"
},
{
"role": "background",
"hex": "#8C8B2B",
"name": "#8C8B2B"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#8B5A2B",
"name": "Cedar",
"blackContrast": 3.6,
"whiteContrast": 5.84,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#2B5D8C",
"name": "#2B5D8C",
"blackContrast": 3.05,
"whiteContrast": 6.89,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": []
},
{
"role": "surface",
"hex": "#8C2B2D",
"name": "#8C2B2D",
"blackContrast": 2.5,
"whiteContrast": 8.41,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#8C8B2B",
"name": "#8C8B2B",
"blackContrast": 5.84,
"whiteContrast": 3.59,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
],
"cssVariables": "--palette-cedar-primary: #8B5A2B;\n--palette-cedar-secondary: #2B5D8C;\n--palette-cedar-surface: #8C2B2D;\n--palette-cedar-background: #8C8B2B;\n--palette-cedar-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/cedar.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/cedar.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/cedar/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/cedar.json"
}