CSS utility

Antique White CSS Utilities

Antique White CSS utilities provide reusable variables and utility classes for #FAEBD7. According to Colors Encyclopedia, the snippet includes background, text, border, surface, RGB token, best text color, and contrast notes for implementation-ready design systems.

Preview Antique White #FAEBD7

Utility Classes

Background.bg-antique-white
Text.text-antique-white
Border.border-antique-white
Surface.surface-antique-white

CSS Snippet

:root {
  --color-antique-white: #FAEBD7;
  --color-antique-white-rgb: 250 235 215;
  --color-antique-white-contrast: #111827;
}

.bg-antique-white { background-color: var(--color-antique-white); }
.text-antique-white { color: var(--color-antique-white); }
.border-antique-white { border-color: var(--color-antique-white); }
.surface-antique-white {
  background-color: var(--color-antique-white);
  color: var(--color-antique-white-contrast);
  border: 1px solid color-mix(in srgb, var(--color-antique-white), #111827 18%);
}
.shadow-antique-white { box-shadow: 0 18px 40px rgb(var(--color-antique-white-rgb) / 28%); }

Usage Examples

Surface cardUse for panels, labels, badges, and interface accents.
Border accentUse as a soft divider or outline color.
Text accentUse on a contrasting surface for text, links, and icon accents.

Implementation Notes

Best text color#111827
Black contrast17.93:1
White contrast1.17:1
RGB token250 235 215

Machine-readable data

Machine-Readable Antique White CSS Utilities (JSON)

Structured CSS utility data for Antique White, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.

AI-Ready Dataset v1.0.0
Luminance0.8465
Black text17.93:1AA Pass
White text1.17:1AA Fail
cssVariablesReusable CSS custom properties
utilityClassesBackground, text, border, surface, and shadow classes
bestTextColorAccessible default foreground token
contrastBlack and white contrast ratios
wcagAA and AAA text color options
relatedEndpointsLinked machine-readable resources
Download JSON Open API
Structured sections
CSS variables
{
  "color": "--color-antique-white: #FAEBD7;",
  "rgb": "--color-antique-white-rgb: 250 235 215;",
  "contrast": "--color-antique-white-contrast: #111827;"
}
Utility classes
{
  "background": ".bg-antique-white",
  "text": ".text-antique-white",
  "border": ".border-antique-white",
  "surface": ".surface-antique-white",
  "shadow": ".shadow-antique-white"
}
Accessibility
{
  "bestTextColor": "#111827",
  "contrast": {
    "black": 17.93,
    "white": 1.17
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
}
Implementation
{
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "cssSnippet": ":root {\n  --color-antique-white: #FAEBD7;\n  --color-antique-white-rgb: 250 235 215;\n  --color-antique-white-contrast: #111827;\n}\n\n.bg-antique-white { background-color: var(--color-antique-white); }\n.text-antique-white { color: var(--color-antique-white); }\n.border-antique-white { border-color: var(--color-antique-white); }\n.surface-antique-white {\n  background-color: var(--color-antique-white);\n  color: var(--color-antique-white-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-antique-white), #111827 18%);\n}\n.shadow-antique-white { box-shadow: 0 18px 40px rgb(var(--color-antique-white-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/antique-white.json",
  "https://www.colorsencyclopedia.com/api/colors/antique-white.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "antique-white",
  "name": "Antique White",
  "hex": "#FAEBD7",
  "rgb": [
    250,
    235,
    215
  ],
  "hsl": [
    34,
    78,
    91
  ],
  "cmyk": [
    0,
    6,
    14,
    2
  ],
  "luminance": 0.8465,
  "contrast": {
    "black": 17.93,
    "white": 1.17
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  "family": "orange",
  "temperature": "warm",
  "tone": [
    "light",
    "pastel"
  ],
  "bestTextColor": "#111827",
  "cssVariables": {
    "color": "--color-antique-white: #FAEBD7;",
    "rgb": "--color-antique-white-rgb: 250 235 215;",
    "contrast": "--color-antique-white-contrast: #111827;"
  },
  "utilityClasses": {
    "background": ".bg-antique-white",
    "text": ".text-antique-white",
    "border": ".border-antique-white",
    "surface": ".surface-antique-white",
    "shadow": ".shadow-antique-white"
  },
  "cssSnippet": ":root {\n  --color-antique-white: #FAEBD7;\n  --color-antique-white-rgb: 250 235 215;\n  --color-antique-white-contrast: #111827;\n}\n\n.bg-antique-white { background-color: var(--color-antique-white); }\n.text-antique-white { color: var(--color-antique-white); }\n.border-antique-white { border-color: var(--color-antique-white); }\n.surface-antique-white {\n  background-color: var(--color-antique-white);\n  color: var(--color-antique-white-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-antique-white), #111827 18%);\n}\n.shadow-antique-white { box-shadow: 0 18px 40px rgb(var(--color-antique-white-rgb) / 28%); }",
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/css/colors/antique-white.json",
    "https://www.colorsencyclopedia.com/api/colors/antique-white.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/antique-white/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/antique-white/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/faebd7/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/antique-white.json"
}