Generated palette

Soft Yellow Palette

Soft Yellow Palette: #FFF8B8, #B8BFFF, #FFD4B8, #E2FFB8. Check roles, contrast and CSS variables; open source-color links and JSON.

Soft Yellow Palette assigns primary #FFF8B8, secondary #B8BFFF, surface #FFD4B8, background #E2FFB8, accent #000000. The set spans Yellow, Blue, Orange, and Green families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #FFF8B8 at 0.9186; black gives higher contrast on 4 of 5 values.

5colors
Yellow palettedominant group
7use cases

Palette Color Roles

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

Primary#FFF8B8Soft Yellow
Secondary#B8BFFF#B8BFFF
Surface#FFD4B8#FFD4B8
Background#E2FFB8#E2FFB8
Accent#000000Black

CSS Variables

--palette-soft-yellow-primary: #FFF8B8;
--palette-soft-yellow-secondary: #B8BFFF;
--palette-soft-yellow-surface: #FFD4B8;
--palette-soft-yellow-background: #E2FFB8;
--palette-soft-yellow-accent: #000000;

Accessibility Snapshot

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

Primary#FFF8B8
Black 19.37:1 · White 1.08:1
Best #000000
Secondary#B8BFFF
Black 11.93:1 · White 1.76:1
Best #000000
Surface#FFD4B8
Black 15.36:1 · White 1.37:1
Best #000000
Background#E2FFB8
Black 19.23:1 · White 1.09:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.9186
Black text19.37:1AA Pass
White text1.08: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": "#FFF8B8",
    "name": "Soft Yellow"
  },
  {
    "role": "secondary",
    "hex": "#B8BFFF",
    "name": "#B8BFFF"
  },
  {
    "role": "surface",
    "hex": "#FFD4B8",
    "name": "#FFD4B8"
  },
  {
    "role": "background",
    "hex": "#E2FFB8",
    "name": "#E2FFB8"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#FFF8B8",
    "name": "Soft Yellow",
    "blackContrast": 19.37,
    "whiteContrast": 1.08,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "secondary",
    "hex": "#B8BFFF",
    "name": "#B8BFFF",
    "blackContrast": 11.93,
    "whiteContrast": 1.76,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#FFD4B8",
    "name": "#FFD4B8",
    "blackContrast": 15.36,
    "whiteContrast": 1.37,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "background",
    "hex": "#E2FFB8",
    "name": "#E2FFB8",
    "blackContrast": 19.23,
    "whiteContrast": 1.09,
    "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
[
  "soft yellow palette",
  "generated palette",
  "yellow palette",
  "blue palette",
  "orange palette",
  "green palette",
  "gray palette",
  "light 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-soft-yellow-primary: #FFF8B8;\n--palette-soft-yellow-secondary: #B8BFFF;\n--palette-soft-yellow-surface: #FFD4B8;\n--palette-soft-yellow-background: #E2FFB8;\n--palette-soft-yellow-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "soft-yellow",
  "name": "Soft Yellow Palette",
  "type": "generated",
  "sourceColor": "soft-yellow",
  "description": "Generated palette built from Soft Yellow, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Soft Yellow Palette combines primary #FFF8B8, secondary #B8BFFF, surface #FFD4B8, background #E2FFB8, 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": [
    "soft yellow palette",
    "generated palette",
    "yellow palette",
    "blue palette",
    "orange palette",
    "green palette",
    "gray palette",
    "light 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": "#FFF8B8",
      "slug": "soft-yellow",
      "name": "Soft Yellow",
      "rgb": [
        255,
        248,
        184
      ],
      "hsl": [
        54,
        100,
        86
      ],
      "cmyk": [
        0,
        3,
        28,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.9186,
      "contrast": {
        "black": 19.37,
        "white": 1.08
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/soft-yellow/"
    },
    {
      "role": "secondary",
      "hex": "#B8BFFF",
      "slug": null,
      "name": "#B8BFFF",
      "rgb": [
        184,
        191,
        255
      ],
      "hsl": [
        234,
        100,
        86
      ],
      "cmyk": [
        28,
        25,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.5467,
      "contrast": {
        "black": 11.93,
        "white": 1.76
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#FFD4B8",
      "slug": null,
      "name": "#FFD4B8",
      "rgb": [
        255,
        212,
        184
      ],
      "hsl": [
        24,
        100,
        86
      ],
      "cmyk": [
        0,
        17,
        28,
        0
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.7181,
      "contrast": {
        "black": 15.36,
        "white": 1.37
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#E2FFB8",
      "slug": null,
      "name": "#E2FFB8",
      "rgb": [
        226,
        255,
        184
      ],
      "hsl": [
        85,
        100,
        86
      ],
      "cmyk": [
        11,
        0,
        28,
        0
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.9115,
      "contrast": {
        "black": 19.23,
        "white": 1.09
      },
      "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": "#FFF8B8",
      "name": "Soft Yellow"
    },
    {
      "role": "secondary",
      "hex": "#B8BFFF",
      "name": "#B8BFFF"
    },
    {
      "role": "surface",
      "hex": "#FFD4B8",
      "name": "#FFD4B8"
    },
    {
      "role": "background",
      "hex": "#E2FFB8",
      "name": "#E2FFB8"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#FFF8B8",
      "name": "Soft Yellow",
      "blackContrast": 19.37,
      "whiteContrast": 1.08,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "secondary",
      "hex": "#B8BFFF",
      "name": "#B8BFFF",
      "blackContrast": 11.93,
      "whiteContrast": 1.76,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#FFD4B8",
      "name": "#FFD4B8",
      "blackContrast": 15.36,
      "whiteContrast": 1.37,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "background",
      "hex": "#E2FFB8",
      "name": "#E2FFB8",
      "blackContrast": 19.23,
      "whiteContrast": 1.09,
      "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-soft-yellow-primary: #FFF8B8;\n--palette-soft-yellow-secondary: #B8BFFF;\n--palette-soft-yellow-surface: #FFD4B8;\n--palette-soft-yellow-background: #E2FFB8;\n--palette-soft-yellow-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/soft-yellow.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/soft-yellow.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/soft-yellow/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/soft-yellow.json"
}