Generated palette

British Racing Green Palette

British Racing Green Palette: #004225, #42001D, #004204, #003E42. Check roles, contrast and CSS variables; open source-color links and JSON.

British Racing Green Palette assigns primary #004225, secondary #42001D, surface #004204, background #003E42, accent #FFFFFF. The set spans Green, Pink, Cyan, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #42001D at 0.0125 to #FFFFFF at 1; black gives higher contrast on 1 of 5 values.

5colors
Green palettedominant group
5use cases

Palette Color Roles

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

Primary#004225British Racing Green
Secondary#42001D#42001D
Surface#004204#004204
Background#003E42#003E42
Accent#FFFFFFWhite

CSS Variables

--palette-british-racing-green-primary: #004225;
--palette-british-racing-green-secondary: #42001D;
--palette-british-racing-green-surface: #004204;
--palette-british-racing-green-background: #003E42;
--palette-british-racing-green-accent: #FFFFFF;

Accessibility Snapshot

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

Primary#004225
Black 1.81:1 · White 11.63:1
Best #FFFFFF
Secondary#42001D
Black 1.25:1 · White 16.8:1
Best #FFFFFF
Surface#004204
Black 1.78:1 · White 11.78:1
Best #FFFFFF
Background#003E42
Black 1.77:1 · White 11.88:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

Preview how the British Racing Green 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 British Racing Green Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.0403
Black text1.81:1AA Fail
White text11.63: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": "#004225",
    "name": "British Racing Green"
  },
  {
    "role": "secondary",
    "hex": "#42001D",
    "name": "#42001D"
  },
  {
    "role": "surface",
    "hex": "#004204",
    "name": "#004204"
  },
  {
    "role": "background",
    "hex": "#003E42",
    "name": "#003E42"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#004225",
    "name": "British Racing Green",
    "blackContrast": 1.81,
    "whiteContrast": 11.63,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#42001D",
    "name": "#42001D",
    "blackContrast": 1.25,
    "whiteContrast": 16.8,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#004204",
    "name": "#004204",
    "blackContrast": 1.78,
    "whiteContrast": 11.78,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#003E42",
    "name": "#003E42",
    "blackContrast": 1.77,
    "whiteContrast": 11.88,
    "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
[
  "british racing green palette",
  "generated palette",
  "green palette",
  "pink palette",
  "cyan palette",
  "gray palette",
  "dark palette",
  "jewel tone palette",
  "light palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "wellness and botanical palettes"
]
CSS variables
"--palette-british-racing-green-primary: #004225;\n--palette-british-racing-green-secondary: #42001D;\n--palette-british-racing-green-surface: #004204;\n--palette-british-racing-green-background: #003E42;\n--palette-british-racing-green-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "british-racing-green",
  "name": "British Racing Green Palette",
  "type": "generated",
  "sourceColor": "british-racing-green",
  "description": "Generated palette built from British Racing Green, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "British Racing Green Palette combines primary #004225, secondary #42001D, surface #004204, background #003E42, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a green palette, pink palette, cyan 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": [
    "british racing green palette",
    "generated palette",
    "green palette",
    "pink palette",
    "cyan palette",
    "gray palette",
    "dark palette",
    "jewel tone palette",
    "light palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#004225",
      "slug": "british-racing-green",
      "name": "British Racing Green",
      "rgb": [
        0,
        66,
        37
      ],
      "hsl": [
        154,
        100,
        13
      ],
      "cmyk": [
        100,
        0,
        44,
        74
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "dark",
        "jewel-tone"
      ],
      "luminance": 0.0403,
      "contrast": {
        "black": 1.81,
        "white": 11.63
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/british-racing-green/"
    },
    {
      "role": "secondary",
      "hex": "#42001D",
      "slug": null,
      "name": "#42001D",
      "rgb": [
        66,
        0,
        29
      ],
      "hsl": [
        334,
        100,
        13
      ],
      "cmyk": [
        0,
        100,
        56,
        74
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "dark"
      ],
      "luminance": 0.0125,
      "contrast": {
        "black": 1.25,
        "white": 16.8
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#004204",
      "slug": null,
      "name": "#004204",
      "rgb": [
        0,
        66,
        4
      ],
      "hsl": [
        124,
        100,
        13
      ],
      "cmyk": [
        100,
        0,
        94,
        74
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "dark",
        "jewel-tone"
      ],
      "luminance": 0.0391,
      "contrast": {
        "black": 1.78,
        "white": 11.78
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#003E42",
      "slug": null,
      "name": "#003E42",
      "rgb": [
        0,
        62,
        66
      ],
      "hsl": [
        184,
        100,
        13
      ],
      "cmyk": [
        100,
        6,
        0,
        74
      ],
      "family": "cyan",
      "temperature": "cool",
      "tone": [
        "dark"
      ],
      "luminance": 0.0384,
      "contrast": {
        "black": 1.77,
        "white": 11.88
      },
      "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": "#004225",
      "name": "British Racing Green"
    },
    {
      "role": "secondary",
      "hex": "#42001D",
      "name": "#42001D"
    },
    {
      "role": "surface",
      "hex": "#004204",
      "name": "#004204"
    },
    {
      "role": "background",
      "hex": "#003E42",
      "name": "#003E42"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#004225",
      "name": "British Racing Green",
      "blackContrast": 1.81,
      "whiteContrast": 11.63,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#42001D",
      "name": "#42001D",
      "blackContrast": 1.25,
      "whiteContrast": 16.8,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#004204",
      "name": "#004204",
      "blackContrast": 1.78,
      "whiteContrast": 11.78,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#003E42",
      "name": "#003E42",
      "blackContrast": 1.77,
      "whiteContrast": 11.88,
      "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-british-racing-green-primary: #004225;\n--palette-british-racing-green-secondary: #42001D;\n--palette-british-racing-green-surface: #004204;\n--palette-british-racing-green-background: #003E42;\n--palette-british-racing-green-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/british-racing-green.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/british-racing-green.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/british-racing-green/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/british-racing-green.json"
}