Generated palette

Rubber Palette

Rubber Palette: #2A2725, #242729, #292424, #292824. Check roles, contrast and CSS variables; open source-color links and JSON.

Rubber Palette assigns primary #2A2725, secondary #242729, surface #292424, background #292824, accent #FFFFFF. The set spans Gray families with neutral temperature. Luminance runs from #292424 at 0.0186 to #FFFFFF at 1; black gives higher contrast on 1 of 5 values.

5colors
Gray palettedominant group
4use cases

Palette Color Roles

Rubber Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#2A2725Rubber
Secondary#242729#242729
Surface#292424#292424
Background#292824#292824
Accent#FFFFFFWhite

CSS Variables

--palette-rubber-primary: #2A2725;
--palette-rubber-secondary: #242729;
--palette-rubber-surface: #292424;
--palette-rubber-background: #292824;
--palette-rubber-accent: #FFFFFF;

Accessibility Snapshot

Compare all 5 Rubber Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#2A2725
Black 1.42:1 · White 14.83:1
Best #FFFFFF
Secondary#242729
Black 1.4:1 · White 15.02:1
Best #FFFFFF
Surface#292424
Black 1.37:1 · White 15.31:1
Best #FFFFFF
Background#292824
Black 1.42:1 · White 14.75:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

Preview how the Rubber Palette roles behave together across common interface components before copying the CSS variables.

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 Rubber Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.0208
Black text1.42:1AA Fail
White text14.83: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": "#2A2725",
    "name": "Rubber"
  },
  {
    "role": "secondary",
    "hex": "#242729",
    "name": "#242729"
  },
  {
    "role": "surface",
    "hex": "#292424",
    "name": "#292424"
  },
  {
    "role": "background",
    "hex": "#292824",
    "name": "#292824"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#2A2725",
    "name": "Rubber",
    "blackContrast": 1.42,
    "whiteContrast": 14.83,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#242729",
    "name": "#242729",
    "blackContrast": 1.4,
    "whiteContrast": 15.02,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#292424",
    "name": "#292424",
    "blackContrast": 1.37,
    "whiteContrast": 15.31,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#292824",
    "name": "#292824",
    "blackContrast": 1.42,
    "whiteContrast": 14.75,
    "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
[
  "rubber palette",
  "generated palette",
  "gray palette",
  "dark palette",
  "light palette",
  "neutral palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion"
]
CSS variables
"--palette-rubber-primary: #2A2725;\n--palette-rubber-secondary: #242729;\n--palette-rubber-surface: #292424;\n--palette-rubber-background: #292824;\n--palette-rubber-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "rubber",
  "name": "Rubber Palette",
  "type": "generated",
  "sourceColor": "rubber",
  "description": "Generated palette built from Rubber, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Rubber Palette combines primary #2A2725, secondary #242729, surface #292424, background #292824, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a gray palette, dark palette, light 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": [
    "rubber palette",
    "generated palette",
    "gray palette",
    "dark palette",
    "light palette",
    "neutral palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#2A2725",
      "slug": "rubber",
      "name": "Rubber",
      "rgb": [
        42,
        39,
        37
      ],
      "hsl": [
        24,
        6,
        15
      ],
      "cmyk": [
        0,
        7,
        12,
        84
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0208,
      "contrast": {
        "black": 1.42,
        "white": 14.83
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/rubber/"
    },
    {
      "role": "secondary",
      "hex": "#242729",
      "slug": null,
      "name": "#242729",
      "rgb": [
        36,
        39,
        41
      ],
      "hsl": [
        204,
        6,
        15
      ],
      "cmyk": [
        12,
        5,
        0,
        84
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0199,
      "contrast": {
        "black": 1.4,
        "white": 15.02
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#292424",
      "slug": null,
      "name": "#292424",
      "rgb": [
        41,
        36,
        36
      ],
      "hsl": [
        0,
        6,
        15
      ],
      "cmyk": [
        0,
        12,
        12,
        84
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0186,
      "contrast": {
        "black": 1.37,
        "white": 15.31
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#292824",
      "slug": null,
      "name": "#292824",
      "rgb": [
        41,
        40,
        36
      ],
      "hsl": [
        48,
        6,
        15
      ],
      "cmyk": [
        0,
        2,
        12,
        84
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0212,
      "contrast": {
        "black": 1.42,
        "white": 14.75
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "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": "#2A2725",
      "name": "Rubber"
    },
    {
      "role": "secondary",
      "hex": "#242729",
      "name": "#242729"
    },
    {
      "role": "surface",
      "hex": "#292424",
      "name": "#292424"
    },
    {
      "role": "background",
      "hex": "#292824",
      "name": "#292824"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#2A2725",
      "name": "Rubber",
      "blackContrast": 1.42,
      "whiteContrast": 14.83,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#242729",
      "name": "#242729",
      "blackContrast": 1.4,
      "whiteContrast": 15.02,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#292424",
      "name": "#292424",
      "blackContrast": 1.37,
      "whiteContrast": 15.31,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#292824",
      "name": "#292824",
      "blackContrast": 1.42,
      "whiteContrast": 14.75,
      "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-rubber-primary: #2A2725;\n--palette-rubber-secondary: #242729;\n--palette-rubber-surface: #292424;\n--palette-rubber-background: #292824;\n--palette-rubber-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/rubber.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/rubber.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/rubber/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/rubber.json"
}