Generated palette

Light Gray Palette

Light Gray Palette: #D3D3D3, #D4D4D4, #000000, #FFFFFF. Check roles, contrast and CSS variables; open source-color links and JSON.

Light Gray Palette assigns primary #D3D3D3, secondary #D4D4D4, surface #000000, background #FFFFFF. The set spans Gray families with neutral temperature. Luminance runs from #000000 at 0 to #FFFFFF at 1; black gives higher contrast on 3 of 4 values.

4colors
Gray palettedominant group
5use cases

Palette Color Roles

Light Gray Palette maps 4 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#D3D3D3Light Grey
Secondary#D4D4D4#D4D4D4
Surface#000000Black
Background#FFFFFFWhite

CSS Variables

--palette-light-gray-primary: #D3D3D3;
--palette-light-gray-secondary: #D4D4D4;
--palette-light-gray-surface: #000000;
--palette-light-gray-background: #FFFFFF;

Accessibility Snapshot

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

Primary#D3D3D3
Black 14.03:1 · White 1.5:1
Best #000000
Secondary#D4D4D4
Black 14.17:1 · White 1.48:1
Best #000000
Surface#000000
Black 1:1 · White 21:1
Best #FFFFFF
Background#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.6514
Black text14.03:1AA Pass
White text1.5: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": "#D3D3D3",
    "name": "Light Grey"
  },
  {
    "role": "secondary",
    "hex": "#D4D4D4",
    "name": "#D4D4D4"
  },
  {
    "role": "surface",
    "hex": "#000000",
    "name": "Black"
  },
  {
    "role": "background",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#D3D3D3",
    "name": "Light Grey",
    "blackContrast": 14.03,
    "whiteContrast": 1.5,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#D4D4D4",
    "name": "#D4D4D4",
    "blackContrast": 14.17,
    "whiteContrast": 1.48,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "light gray palette",
  "generated palette",
  "gray palette",
  "muted palette",
  "dark palette",
  "neutral palette",
  "light palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "quiet UI themes"
]
CSS variables
"--palette-light-gray-primary: #D3D3D3;\n--palette-light-gray-secondary: #D4D4D4;\n--palette-light-gray-surface: #000000;\n--palette-light-gray-background: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "light-gray",
  "name": "Light Gray Palette",
  "type": "generated",
  "sourceColor": "light-gray",
  "description": "Generated palette built from Light Gray, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Light Gray Palette combines primary #D3D3D3, secondary #D4D4D4, surface #000000, background #FFFFFF. According to Colors Encyclopedia, the palette works as a gray palette, muted palette, dark 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": [
    "light gray palette",
    "generated palette",
    "gray palette",
    "muted palette",
    "dark palette",
    "neutral palette",
    "light palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "quiet UI themes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#D3D3D3",
      "slug": "light-grey",
      "name": "Light Grey",
      "rgb": [
        211,
        211,
        211
      ],
      "hsl": [
        0,
        0,
        83
      ],
      "cmyk": [
        0,
        0,
        0,
        17
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.6514,
      "contrast": {
        "black": 14.03,
        "white": 1.5
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/light-grey/"
    },
    {
      "role": "secondary",
      "hex": "#D4D4D4",
      "slug": null,
      "name": "#D4D4D4",
      "rgb": [
        212,
        212,
        212
      ],
      "hsl": [
        0,
        0,
        83
      ],
      "cmyk": [
        0,
        0,
        0,
        17
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.6584,
      "contrast": {
        "black": 14.17,
        "white": 1.48
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "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/"
    },
    {
      "role": "background",
      "hex": "#FFFFFF",
      "slug": "white",
      "name": "White",
      "rgb": [
        255,
        255,
        255
      ],
      "hsl": [
        0,
        0,
        100
      ],
      "cmyk": [
        0,
        0,
        0,
        0
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light",
        "neutral"
      ],
      "luminance": 1,
      "contrast": {
        "black": 21,
        "white": 1
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/white/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#D3D3D3",
      "name": "Light Grey"
    },
    {
      "role": "secondary",
      "hex": "#D4D4D4",
      "name": "#D4D4D4"
    },
    {
      "role": "surface",
      "hex": "#000000",
      "name": "Black"
    },
    {
      "role": "background",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#D3D3D3",
      "name": "Light Grey",
      "blackContrast": 14.03,
      "whiteContrast": 1.5,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#D4D4D4",
      "name": "#D4D4D4",
      "blackContrast": 14.17,
      "whiteContrast": 1.48,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-light-gray-primary: #D3D3D3;\n--palette-light-gray-secondary: #D4D4D4;\n--palette-light-gray-surface: #000000;\n--palette-light-gray-background: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/light-gray.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/light-gray.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/light-gray/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/light-gray.json"
}