Generated palette

Pastel Yellow Palette

Pastel Yellow Palette: #FDFD96, #9696FD, #FDC996, #C9FD96. Check roles, contrast and CSS variables; open source-color links and JSON.

Pastel Yellow Palette assigns primary #FDFD96, secondary #9696FD, surface #FDC996, background #C9FD96, accent #000000. The set spans Yellow, Blue, Orange, and Green families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #FDFD96 at 0.9334; black gives higher contrast on 4 of 5 values.

5colors
Yellow palettedominant group
7use cases

Palette Color Roles

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

Primary#FDFD96Pastel Yellow
Secondary#9696FD#9696FD
Surface#FDC996#FDC996
Background#C9FD96#C9FD96
Accent#000000Black

CSS Variables

--palette-pastel-yellow-primary: #FDFD96;
--palette-pastel-yellow-secondary: #9696FD;
--palette-pastel-yellow-surface: #FDC996;
--palette-pastel-yellow-background: #C9FD96;
--palette-pastel-yellow-accent: #000000;

Accessibility Snapshot

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

Primary#FDFD96
Black 19.67:1 · White 1.07:1
Best #000000
Secondary#9696FD
Black 8.08:1 · White 2.6:1
Best #000000
Surface#FDC996
Black 13.97:1 · White 1.5:1
Best #000000
Background#C9FD96
Black 17.97:1 · White 1.17:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.9334
Black text19.67:1AA Pass
White text1.07: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": "#FDFD96",
    "name": "Pastel Yellow"
  },
  {
    "role": "secondary",
    "hex": "#9696FD",
    "name": "#9696FD"
  },
  {
    "role": "surface",
    "hex": "#FDC996",
    "name": "#FDC996"
  },
  {
    "role": "background",
    "hex": "#C9FD96",
    "name": "#C9FD96"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#FDFD96",
    "name": "Pastel Yellow",
    "blackContrast": 19.67,
    "whiteContrast": 1.07,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "secondary",
    "hex": "#9696FD",
    "name": "#9696FD",
    "blackContrast": 8.08,
    "whiteContrast": 2.6,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000"
    ]
  },
  {
    "role": "surface",
    "hex": "#FDC996",
    "name": "#FDC996",
    "blackContrast": 13.97,
    "whiteContrast": 1.5,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "background",
    "hex": "#C9FD96",
    "name": "#C9FD96",
    "blackContrast": 17.97,
    "whiteContrast": 1.17,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "pastel yellow palette",
  "generated palette",
  "yellow palette",
  "blue palette",
  "orange palette",
  "green palette",
  "gray palette",
  "pastel palette",
  "dark palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "soft backgrounds",
  "wellness and botanical palettes",
  "calm digital interfaces"
]
CSS variables
"--palette-pastel-yellow-primary: #FDFD96;\n--palette-pastel-yellow-secondary: #9696FD;\n--palette-pastel-yellow-surface: #FDC996;\n--palette-pastel-yellow-background: #C9FD96;\n--palette-pastel-yellow-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "pastel-yellow",
  "name": "Pastel Yellow Palette",
  "type": "generated",
  "sourceColor": "pastel-yellow",
  "description": "Generated palette built from Pastel Yellow, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Pastel Yellow Palette combines primary #FDFD96, secondary #9696FD, surface #FDC996, background #C9FD96, 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": [
    "pastel yellow palette",
    "generated palette",
    "yellow palette",
    "blue palette",
    "orange palette",
    "green palette",
    "gray palette",
    "pastel palette",
    "dark palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "soft backgrounds",
    "wellness and botanical palettes",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#FDFD96",
      "slug": "pastel-yellow",
      "name": "Pastel Yellow",
      "rgb": [
        253,
        253,
        150
      ],
      "hsl": [
        60,
        96,
        79
      ],
      "cmyk": [
        0,
        0,
        41,
        1
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.9334,
      "contrast": {
        "black": 19.67,
        "white": 1.07
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/pastel-yellow/"
    },
    {
      "role": "secondary",
      "hex": "#9696FD",
      "slug": null,
      "name": "#9696FD",
      "rgb": [
        150,
        150,
        253
      ],
      "hsl": [
        240,
        96,
        79
      ],
      "cmyk": [
        41,
        41,
        0,
        1
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "pastel"
      ],
      "luminance": 0.3539,
      "contrast": {
        "black": 8.08,
        "white": 2.6
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#FDC996",
      "slug": null,
      "name": "#FDC996",
      "rgb": [
        253,
        201,
        150
      ],
      "hsl": [
        30,
        96,
        79
      ],
      "cmyk": [
        0,
        21,
        41,
        1
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.6486,
      "contrast": {
        "black": 13.97,
        "white": 1.5
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#C9FD96",
      "slug": null,
      "name": "#C9FD96",
      "rgb": [
        201,
        253,
        150
      ],
      "hsl": [
        90,
        96,
        79
      ],
      "cmyk": [
        21,
        0,
        41,
        1
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "pastel"
      ],
      "luminance": 0.8487,
      "contrast": {
        "black": 17.97,
        "white": 1.17
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "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": "#FDFD96",
      "name": "Pastel Yellow"
    },
    {
      "role": "secondary",
      "hex": "#9696FD",
      "name": "#9696FD"
    },
    {
      "role": "surface",
      "hex": "#FDC996",
      "name": "#FDC996"
    },
    {
      "role": "background",
      "hex": "#C9FD96",
      "name": "#C9FD96"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#FDFD96",
      "name": "Pastel Yellow",
      "blackContrast": 19.67,
      "whiteContrast": 1.07,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "secondary",
      "hex": "#9696FD",
      "name": "#9696FD",
      "blackContrast": 8.08,
      "whiteContrast": 2.6,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000"
      ]
    },
    {
      "role": "surface",
      "hex": "#FDC996",
      "name": "#FDC996",
      "blackContrast": 13.97,
      "whiteContrast": 1.5,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "background",
      "hex": "#C9FD96",
      "name": "#C9FD96",
      "blackContrast": 17.97,
      "whiteContrast": 1.17,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-pastel-yellow-primary: #FDFD96;\n--palette-pastel-yellow-secondary: #9696FD;\n--palette-pastel-yellow-surface: #FDC996;\n--palette-pastel-yellow-background: #C9FD96;\n--palette-pastel-yellow-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/pastel-yellow.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/pastel-yellow.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/pastel-yellow/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/pastel-yellow.json"
}