Generated palette

Moccasin Palette

Moccasin Palette: #FFE4B5, #B3CFFF, #FFBDB3, #F5FFB3. Check roles, contrast and CSS variables; open source-color links and JSON.

Moccasin Palette assigns primary #FFE4B5, secondary #B3CFFF, surface #FFBDB3, background #F5FFB3, accent #000000. The set spans Orange, Blue, Red, and Yellow families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #F5FFB3 at 0.9419; black gives higher contrast on 4 of 5 values.

5colors
Orange palettedominant group
6use cases

Palette Color Roles

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

Primary#FFE4B5Moccasin
Secondary#B3CFFF#B3CFFF
Surface#FFBDB3#FFBDB3
Background#F5FFB3#F5FFB3
Accent#000000Black

CSS Variables

--palette-moccasin-primary: #FFE4B5;
--palette-moccasin-secondary: #B3CFFF;
--palette-moccasin-surface: #FFBDB3;
--palette-moccasin-background: #F5FFB3;
--palette-moccasin-accent: #000000;

Accessibility Snapshot

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

Primary#FFE4B5
Black 17.02:1 · White 1.23:1
Best #000000
Secondary#B3CFFF
Black 13.29:1 · White 1.58:1
Best #000000
Surface#FFBDB3
Black 13.18:1 · White 1.59:1
Best #000000
Background#F5FFB3
Black 19.84:1 · White 1.06:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.8008
Black text17.02:1AA Pass
White text1.23: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": "#FFE4B5",
    "name": "Moccasin"
  },
  {
    "role": "secondary",
    "hex": "#B3CFFF",
    "name": "#B3CFFF"
  },
  {
    "role": "surface",
    "hex": "#FFBDB3",
    "name": "#FFBDB3"
  },
  {
    "role": "background",
    "hex": "#F5FFB3",
    "name": "#F5FFB3"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#FFE4B5",
    "name": "Moccasin",
    "blackContrast": 17.02,
    "whiteContrast": 1.23,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "secondary",
    "hex": "#B3CFFF",
    "name": "#B3CFFF",
    "blackContrast": 13.29,
    "whiteContrast": 1.58,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#FFBDB3",
    "name": "#FFBDB3",
    "blackContrast": 13.18,
    "whiteContrast": 1.59,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "background",
    "hex": "#F5FFB3",
    "name": "#F5FFB3",
    "blackContrast": 19.84,
    "whiteContrast": 1.06,
    "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
[
  "moccasin palette",
  "generated palette",
  "orange palette",
  "blue palette",
  "red palette",
  "yellow 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",
  "calm digital interfaces"
]
CSS variables
"--palette-moccasin-primary: #FFE4B5;\n--palette-moccasin-secondary: #B3CFFF;\n--palette-moccasin-surface: #FFBDB3;\n--palette-moccasin-background: #F5FFB3;\n--palette-moccasin-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "moccasin",
  "name": "Moccasin Palette",
  "type": "generated",
  "sourceColor": "moccasin",
  "description": "Generated palette built from Moccasin, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Moccasin Palette combines primary #FFE4B5, secondary #B3CFFF, surface #FFBDB3, background #F5FFB3, accent #000000. According to Colors Encyclopedia, the palette works as a orange palette, blue palette, red 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": [
    "moccasin palette",
    "generated palette",
    "orange palette",
    "blue palette",
    "red palette",
    "yellow 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",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#FFE4B5",
      "slug": "moccasin",
      "name": "Moccasin",
      "rgb": [
        255,
        228,
        181
      ],
      "hsl": [
        38,
        100,
        85
      ],
      "cmyk": [
        0,
        11,
        29,
        0
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.8008,
      "contrast": {
        "black": 17.02,
        "white": 1.23
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/moccasin/"
    },
    {
      "role": "secondary",
      "hex": "#B3CFFF",
      "slug": null,
      "name": "#B3CFFF",
      "rgb": [
        179,
        207,
        255
      ],
      "hsl": [
        218,
        100,
        85
      ],
      "cmyk": [
        30,
        19,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "pastel"
      ],
      "luminance": 0.6143,
      "contrast": {
        "black": 13.29,
        "white": 1.58
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#FFBDB3",
      "slug": null,
      "name": "#FFBDB3",
      "rgb": [
        255,
        189,
        179
      ],
      "hsl": [
        8,
        100,
        85
      ],
      "cmyk": [
        0,
        26,
        30,
        0
      ],
      "family": "red",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.6091,
      "contrast": {
        "black": 13.18,
        "white": 1.59
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#F5FFB3",
      "slug": null,
      "name": "#F5FFB3",
      "rgb": [
        245,
        255,
        179
      ],
      "hsl": [
        68,
        100,
        85
      ],
      "cmyk": [
        4,
        0,
        30,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.9419,
      "contrast": {
        "black": 19.84,
        "white": 1.06
      },
      "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": "#FFE4B5",
      "name": "Moccasin"
    },
    {
      "role": "secondary",
      "hex": "#B3CFFF",
      "name": "#B3CFFF"
    },
    {
      "role": "surface",
      "hex": "#FFBDB3",
      "name": "#FFBDB3"
    },
    {
      "role": "background",
      "hex": "#F5FFB3",
      "name": "#F5FFB3"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#FFE4B5",
      "name": "Moccasin",
      "blackContrast": 17.02,
      "whiteContrast": 1.23,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "secondary",
      "hex": "#B3CFFF",
      "name": "#B3CFFF",
      "blackContrast": 13.29,
      "whiteContrast": 1.58,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#FFBDB3",
      "name": "#FFBDB3",
      "blackContrast": 13.18,
      "whiteContrast": 1.59,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "background",
      "hex": "#F5FFB3",
      "name": "#F5FFB3",
      "blackContrast": 19.84,
      "whiteContrast": 1.06,
      "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-moccasin-primary: #FFE4B5;\n--palette-moccasin-secondary: #B3CFFF;\n--palette-moccasin-surface: #FFBDB3;\n--palette-moccasin-background: #F5FFB3;\n--palette-moccasin-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/moccasin.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/moccasin.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/moccasin/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/moccasin.json"
}