Generated palette

Straw Palette

Straw Palette: #E4D96F, #6D79E3, #E39D6D, #B4E36D. Check roles, contrast and CSS variables; open source-color links and JSON.

Straw Palette assigns primary #E4D96F, secondary #6D79E3, surface #E39D6D, background #B4E36D, accent #000000. The set spans Yellow, Blue, Orange, and Green families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #E4D96F at 0.6727; black gives higher contrast on 4 of 5 values.

5colors
Yellow palettedominant group
6use cases

Palette Color Roles

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

Primary#E4D96FStraw
Secondary#6D79E3#6D79E3
Surface#E39D6D#E39D6D
Background#B4E36D#B4E36D
Accent#000000Black

CSS Variables

--palette-straw-primary: #E4D96F;
--palette-straw-secondary: #6D79E3;
--palette-straw-surface: #E39D6D;
--palette-straw-background: #B4E36D;
--palette-straw-accent: #000000;

Accessibility Snapshot

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

Primary#E4D96F
Black 14.45:1 · White 1.45:1
Best #000000
Secondary#6D79E3
Black 5.49:1 · White 3.82:1
Best #000000
Surface#E39D6D
Black 9.31:1 · White 2.26:1
Best #000000
Background#B4E36D
Black 14.15:1 · White 1.48:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.6727
Black text14.45:1AA Pass
White text1.45: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": "#E4D96F",
    "name": "Straw"
  },
  {
    "role": "secondary",
    "hex": "#6D79E3",
    "name": "#6D79E3"
  },
  {
    "role": "surface",
    "hex": "#E39D6D",
    "name": "#E39D6D"
  },
  {
    "role": "background",
    "hex": "#B4E36D",
    "name": "#B4E36D"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#E4D96F",
    "name": "Straw",
    "blackContrast": 14.45,
    "whiteContrast": 1.45,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#6D79E3",
    "name": "#6D79E3",
    "blackContrast": 5.49,
    "whiteContrast": 3.82,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#E39D6D",
    "name": "#E39D6D",
    "blackContrast": 9.31,
    "whiteContrast": 2.26,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "background",
    "hex": "#B4E36D",
    "name": "#B4E36D",
    "blackContrast": 14.15,
    "whiteContrast": 1.48,
    "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
[
  "straw palette",
  "generated palette",
  "yellow palette",
  "blue palette",
  "orange palette",
  "green palette",
  "gray palette",
  "balanced 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-straw-primary: #E4D96F;\n--palette-straw-secondary: #6D79E3;\n--palette-straw-surface: #E39D6D;\n--palette-straw-background: #B4E36D;\n--palette-straw-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "straw",
  "name": "Straw Palette",
  "type": "generated",
  "sourceColor": "straw",
  "description": "Generated palette built from Straw, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Straw Palette combines primary #E4D96F, secondary #6D79E3, surface #E39D6D, background #B4E36D, 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": [
    "straw palette",
    "generated palette",
    "yellow palette",
    "blue palette",
    "orange palette",
    "green palette",
    "gray palette",
    "balanced 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": "#E4D96F",
      "slug": "straw",
      "name": "Straw",
      "rgb": [
        228,
        217,
        111
      ],
      "hsl": [
        54,
        68,
        66
      ],
      "cmyk": [
        0,
        5,
        51,
        11
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.6727,
      "contrast": {
        "black": 14.45,
        "white": 1.45
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/straw/"
    },
    {
      "role": "secondary",
      "hex": "#6D79E3",
      "slug": null,
      "name": "#6D79E3",
      "rgb": [
        109,
        121,
        227
      ],
      "hsl": [
        234,
        68,
        66
      ],
      "cmyk": [
        52,
        47,
        0,
        11
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2247,
      "contrast": {
        "black": 5.49,
        "white": 3.82
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#E39D6D",
      "slug": null,
      "name": "#E39D6D",
      "rgb": [
        227,
        157,
        109
      ],
      "hsl": [
        24,
        68,
        66
      ],
      "cmyk": [
        0,
        31,
        52,
        11
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "balanced"
      ],
      "luminance": 0.4155,
      "contrast": {
        "black": 9.31,
        "white": 2.26
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#B4E36D",
      "slug": null,
      "name": "#B4E36D",
      "rgb": [
        180,
        227,
        109
      ],
      "hsl": [
        84,
        68,
        66
      ],
      "cmyk": [
        21,
        0,
        52,
        11
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.6575,
      "contrast": {
        "black": 14.15,
        "white": 1.48
      },
      "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": "#E4D96F",
      "name": "Straw"
    },
    {
      "role": "secondary",
      "hex": "#6D79E3",
      "name": "#6D79E3"
    },
    {
      "role": "surface",
      "hex": "#E39D6D",
      "name": "#E39D6D"
    },
    {
      "role": "background",
      "hex": "#B4E36D",
      "name": "#B4E36D"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#E4D96F",
      "name": "Straw",
      "blackContrast": 14.45,
      "whiteContrast": 1.45,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#6D79E3",
      "name": "#6D79E3",
      "blackContrast": 5.49,
      "whiteContrast": 3.82,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#E39D6D",
      "name": "#E39D6D",
      "blackContrast": 9.31,
      "whiteContrast": 2.26,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "background",
      "hex": "#B4E36D",
      "name": "#B4E36D",
      "blackContrast": 14.15,
      "whiteContrast": 1.48,
      "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-straw-primary: #E4D96F;\n--palette-straw-secondary: #6D79E3;\n--palette-straw-surface: #E39D6D;\n--palette-straw-background: #B4E36D;\n--palette-straw-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/straw.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/straw.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/straw/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/straw.json"
}