Generated palette

Spruce Palette

Spruce Palette is a generated palette built from #2E4F4F, #502F2F, #2F5040, #2F4050. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Spruce Palette combines primary #2E4F4F, secondary #502F2F, surface #2F5040, background #2F4050, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a cyan palette, red palette, green 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.

5colors
Cyan palettedominant group
7use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#2E4F4FSpruce
Secondary#502F2F#502F2F
Surface#2F5040#2F5040
Background#2F4050#2F4050
Accent#FFFFFFWhite

CSS Variables

--palette-spruce-primary: #2E4F4F;
--palette-spruce-secondary: #502F2F;
--palette-spruce-surface: #2F5040;
--palette-spruce-background: #2F4050;
--palette-spruce-accent: #FFFFFF;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#2E4F4F
Black 2.35:1 · White 8.94:1
Best #FFFFFF
Secondary#502F2F
Black 1.79:1 · White 11.74:1
Best #FFFFFF
Surface#2F5040
Black 2.34:1 · White 8.97:1
Best #FFFFFF
Background#2F4050
Black 1.97:1 · White 10.66:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Spruce Palette Data (JSON)

Structured palette data for Spruce Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.0674
Black text2.35:1AA Fail
White text8.94:1AA Pass
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#2E4F4F",
    "name": "Spruce"
  },
  {
    "role": "secondary",
    "hex": "#502F2F",
    "name": "#502F2F"
  },
  {
    "role": "surface",
    "hex": "#2F5040",
    "name": "#2F5040"
  },
  {
    "role": "background",
    "hex": "#2F4050",
    "name": "#2F4050"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#2E4F4F",
    "name": "Spruce",
    "blackContrast": 2.35,
    "whiteContrast": 8.94,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#502F2F",
    "name": "#502F2F",
    "blackContrast": 1.79,
    "whiteContrast": 11.74,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#2F5040",
    "name": "#2F5040",
    "blackContrast": 2.34,
    "whiteContrast": 8.97,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#2F4050",
    "name": "#2F4050",
    "blackContrast": 1.97,
    "whiteContrast": 10.66,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "spruce palette",
  "generated palette",
  "cyan palette",
  "red palette",
  "green palette",
  "blue palette",
  "gray palette",
  "muted palette",
  "earth tone palette",
  "light 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-spruce-primary: #2E4F4F;\n--palette-spruce-secondary: #502F2F;\n--palette-spruce-surface: #2F5040;\n--palette-spruce-background: #2F4050;\n--palette-spruce-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "spruce",
  "name": "Spruce Palette",
  "type": "generated",
  "sourceColor": "spruce",
  "description": "Generated palette built from Spruce, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Spruce Palette combines primary #2E4F4F, secondary #502F2F, surface #2F5040, background #2F4050, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a cyan palette, red palette, green 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": [
    "spruce palette",
    "generated palette",
    "cyan palette",
    "red palette",
    "green palette",
    "blue palette",
    "gray palette",
    "muted palette",
    "earth tone palette",
    "light 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": "#2E4F4F",
      "slug": "spruce",
      "name": "Spruce",
      "rgb": [
        46,
        79,
        79
      ],
      "hsl": [
        180,
        26,
        25
      ],
      "cmyk": [
        42,
        0,
        0,
        69
      ],
      "family": "cyan",
      "temperature": "cool",
      "tone": [
        "muted"
      ],
      "luminance": 0.0674,
      "contrast": {
        "black": 2.35,
        "white": 8.94
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/spruce/"
    },
    {
      "role": "secondary",
      "hex": "#502F2F",
      "slug": null,
      "name": "#502F2F",
      "rgb": [
        80,
        47,
        47
      ],
      "hsl": [
        0,
        26,
        25
      ],
      "cmyk": [
        0,
        41,
        41,
        69
      ],
      "family": "red",
      "temperature": "warm",
      "tone": [
        "muted"
      ],
      "luminance": 0.0394,
      "contrast": {
        "black": 1.79,
        "white": 11.74
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/502f2f/"
    },
    {
      "role": "surface",
      "hex": "#2F5040",
      "slug": null,
      "name": "#2F5040",
      "rgb": [
        47,
        80,
        64
      ],
      "hsl": [
        151,
        26,
        25
      ],
      "cmyk": [
        41,
        0,
        20,
        69
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "muted",
        "earth-tone"
      ],
      "luminance": 0.0671,
      "contrast": {
        "black": 2.34,
        "white": 8.97
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/2f5040/"
    },
    {
      "role": "background",
      "hex": "#2F4050",
      "slug": null,
      "name": "#2F4050",
      "rgb": [
        47,
        64,
        80
      ],
      "hsl": [
        209,
        26,
        25
      ],
      "cmyk": [
        41,
        20,
        0,
        69
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "muted"
      ],
      "luminance": 0.0485,
      "contrast": {
        "black": 1.97,
        "white": 10.66
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/2f4050/"
    },
    {
      "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": "#2E4F4F",
      "name": "Spruce"
    },
    {
      "role": "secondary",
      "hex": "#502F2F",
      "name": "#502F2F"
    },
    {
      "role": "surface",
      "hex": "#2F5040",
      "name": "#2F5040"
    },
    {
      "role": "background",
      "hex": "#2F4050",
      "name": "#2F4050"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#2E4F4F",
      "name": "Spruce",
      "blackContrast": 2.35,
      "whiteContrast": 8.94,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#502F2F",
      "name": "#502F2F",
      "blackContrast": 1.79,
      "whiteContrast": 11.74,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#2F5040",
      "name": "#2F5040",
      "blackContrast": 2.34,
      "whiteContrast": 8.97,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#2F4050",
      "name": "#2F4050",
      "blackContrast": 1.97,
      "whiteContrast": 10.66,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-spruce-primary: #2E4F4F;\n--palette-spruce-secondary: #502F2F;\n--palette-spruce-surface: #2F5040;\n--palette-spruce-background: #2F4050;\n--palette-spruce-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/spruce.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/spruce.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/spruce/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/spruce.json"
}