Generated palette

Safety Yellow Palette

Safety Yellow Palette: #EED202, #021EED, #ED5C02, #93ED02. Check roles, contrast and CSS variables; open source-color links and JSON.

Safety Yellow Palette assigns primary #EED202, secondary #021EED, surface #ED5C02, background #93ED02, accent #000000. The set spans Yellow, Blue, Orange, and Green families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #93ED02 at 0.6678; black gives higher contrast on 3 of 5 values.

5colors
Yellow palettedominant group
6use cases

Palette Color Roles

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

Primary#EED202Safety Yellow
Secondary#021EED#021EED
Surface#ED5C02#ED5C02
Background#93ED02#93ED02
Accent#000000Black

CSS Variables

--palette-safety-yellow-primary: #EED202;
--palette-safety-yellow-secondary: #021EED;
--palette-safety-yellow-surface: #ED5C02;
--palette-safety-yellow-background: #93ED02;
--palette-safety-yellow-accent: #000000;

Accessibility Snapshot

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

Primary#EED202
Black 13.85:1 · White 1.52:1
Best #000000
Secondary#021EED
Black 2.41:1 · White 8.71:1
Best #FFFFFF
Surface#ED5C02
Black 6.13:1 · White 3.42:1
Best #000000
Background#93ED02
Black 14.36:1 · White 1.46:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

Preview how the Safety Yellow 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 Safety Yellow Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.6427
Black text13.85:1AA Pass
White text1.52:1AA Fail
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": "#EED202",
    "name": "Safety Yellow"
  },
  {
    "role": "secondary",
    "hex": "#021EED",
    "name": "#021EED"
  },
  {
    "role": "surface",
    "hex": "#ED5C02",
    "name": "#ED5C02"
  },
  {
    "role": "background",
    "hex": "#93ED02",
    "name": "#93ED02"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#EED202",
    "name": "Safety Yellow",
    "blackContrast": 13.85,
    "whiteContrast": 1.52,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#021EED",
    "name": "#021EED",
    "blackContrast": 2.41,
    "whiteContrast": 8.71,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#ED5C02",
    "name": "#ED5C02",
    "blackContrast": 6.13,
    "whiteContrast": 3.42,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#93ED02",
    "name": "#93ED02",
    "blackContrast": 14.36,
    "whiteContrast": 1.46,
    "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
[
  "safety yellow palette",
  "generated palette",
  "yellow palette",
  "blue palette",
  "orange palette",
  "green 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",
  "wellness and botanical palettes",
  "calm digital interfaces"
]
CSS variables
"--palette-safety-yellow-primary: #EED202;\n--palette-safety-yellow-secondary: #021EED;\n--palette-safety-yellow-surface: #ED5C02;\n--palette-safety-yellow-background: #93ED02;\n--palette-safety-yellow-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "safety-yellow",
  "name": "Safety Yellow Palette",
  "type": "generated",
  "sourceColor": "safety-yellow",
  "description": "Generated palette built from Safety Yellow, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Safety Yellow Palette combines primary #EED202, secondary #021EED, surface #ED5C02, background #93ED02, accent #000000. According to Colors Encyclopedia, the palette works as a yellow palette, blue palette, orange 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": [
    "safety yellow palette",
    "generated palette",
    "yellow palette",
    "blue palette",
    "orange palette",
    "green palette",
    "gray palette",
    "vibrant palette",
    "dark palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#EED202",
      "slug": "safety-yellow",
      "name": "Safety Yellow",
      "rgb": [
        238,
        210,
        2
      ],
      "hsl": [
        53,
        98,
        47
      ],
      "cmyk": [
        0,
        12,
        99,
        7
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.6427,
      "contrast": {
        "black": 13.85,
        "white": 1.52
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/safety-yellow/"
    },
    {
      "role": "secondary",
      "hex": "#021EED",
      "slug": null,
      "name": "#021EED",
      "rgb": [
        2,
        30,
        237
      ],
      "hsl": [
        233,
        98,
        47
      ],
      "cmyk": [
        99,
        87,
        0,
        7
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.0706,
      "contrast": {
        "black": 2.41,
        "white": 8.71
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#ED5C02",
      "slug": null,
      "name": "#ED5C02",
      "rgb": [
        237,
        92,
        2
      ],
      "hsl": [
        23,
        98,
        47
      ],
      "cmyk": [
        0,
        61,
        99,
        7
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.2566,
      "contrast": {
        "black": 6.13,
        "white": 3.42
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#93ED02",
      "slug": null,
      "name": "#93ED02",
      "rgb": [
        147,
        237,
        2
      ],
      "hsl": [
        83,
        98,
        47
      ],
      "cmyk": [
        38,
        0,
        99,
        7
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.6678,
      "contrast": {
        "black": 14.36,
        "white": 1.46
      },
      "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": "#EED202",
      "name": "Safety Yellow"
    },
    {
      "role": "secondary",
      "hex": "#021EED",
      "name": "#021EED"
    },
    {
      "role": "surface",
      "hex": "#ED5C02",
      "name": "#ED5C02"
    },
    {
      "role": "background",
      "hex": "#93ED02",
      "name": "#93ED02"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#EED202",
      "name": "Safety Yellow",
      "blackContrast": 13.85,
      "whiteContrast": 1.52,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#021EED",
      "name": "#021EED",
      "blackContrast": 2.41,
      "whiteContrast": 8.71,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#ED5C02",
      "name": "#ED5C02",
      "blackContrast": 6.13,
      "whiteContrast": 3.42,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#93ED02",
      "name": "#93ED02",
      "blackContrast": 14.36,
      "whiteContrast": 1.46,
      "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-safety-yellow-primary: #EED202;\n--palette-safety-yellow-secondary: #021EED;\n--palette-safety-yellow-surface: #ED5C02;\n--palette-safety-yellow-background: #93ED02;\n--palette-safety-yellow-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/safety-yellow.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/safety-yellow.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/safety-yellow/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/safety-yellow.json"
}