CSS utility

Antique Gold CSS Utilities

Antique Gold CSS utilities provide reusable variables and utility classes for #B08D57. 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 Gold #B08D57

Utility Classes

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

CSS Snippet

:root {
  --color-antique-gold: #B08D57;
  --color-antique-gold-rgb: 176 141 87;
  --color-antique-gold-contrast: #111827;
}

.bg-antique-gold { background-color: var(--color-antique-gold); }
.text-antique-gold { color: var(--color-antique-gold); }
.border-antique-gold { border-color: var(--color-antique-gold); }
.surface-antique-gold {
  background-color: var(--color-antique-gold);
  color: var(--color-antique-gold-contrast);
  border: 1px solid color-mix(in srgb, var(--color-antique-gold), #111827 18%);
}
.shadow-antique-gold { box-shadow: 0 18px 40px rgb(var(--color-antique-gold-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 contrast6.79:1
White contrast3.09:1
RGB token176 141 87

Machine-readable data

Machine-Readable Antique Gold CSS Utilities (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.2897
Black text6.79:1AA Pass
White text3.09: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-gold: #B08D57;",
  "rgb": "--color-antique-gold-rgb: 176 141 87;",
  "contrast": "--color-antique-gold-contrast: #111827;"
}
Utility classes
{
  "background": ".bg-antique-gold",
  "text": ".text-antique-gold",
  "border": ".border-antique-gold",
  "surface": ".surface-antique-gold",
  "shadow": ".shadow-antique-gold"
}
Accessibility
{
  "bestTextColor": "#111827",
  "contrast": {
    "black": 6.79,
    "white": 3.09
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A"
    ],
    "AAA": []
  }
}
Implementation
{
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "cssSnippet": ":root {\n  --color-antique-gold: #B08D57;\n  --color-antique-gold-rgb: 176 141 87;\n  --color-antique-gold-contrast: #111827;\n}\n\n.bg-antique-gold { background-color: var(--color-antique-gold); }\n.text-antique-gold { color: var(--color-antique-gold); }\n.border-antique-gold { border-color: var(--color-antique-gold); }\n.surface-antique-gold {\n  background-color: var(--color-antique-gold);\n  color: var(--color-antique-gold-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-antique-gold), #111827 18%);\n}\n.shadow-antique-gold { box-shadow: 0 18px 40px rgb(var(--color-antique-gold-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/antique-gold.json",
  "https://www.colorsencyclopedia.com/api/colors/antique-gold.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "antique-gold",
  "name": "Antique Gold",
  "hex": "#B08D57",
  "rgb": [
    176,
    141,
    87
  ],
  "hsl": [
    36,
    36,
    52
  ],
  "cmyk": [
    0,
    20,
    51,
    31
  ],
  "luminance": 0.2897,
  "contrast": {
    "black": 6.79,
    "white": 3.09
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A"
    ],
    "AAA": []
  },
  "family": "orange",
  "temperature": "warm",
  "tone": [
    "earth-tone"
  ],
  "bestTextColor": "#111827",
  "cssVariables": {
    "color": "--color-antique-gold: #B08D57;",
    "rgb": "--color-antique-gold-rgb: 176 141 87;",
    "contrast": "--color-antique-gold-contrast: #111827;"
  },
  "utilityClasses": {
    "background": ".bg-antique-gold",
    "text": ".text-antique-gold",
    "border": ".border-antique-gold",
    "surface": ".surface-antique-gold",
    "shadow": ".shadow-antique-gold"
  },
  "cssSnippet": ":root {\n  --color-antique-gold: #B08D57;\n  --color-antique-gold-rgb: 176 141 87;\n  --color-antique-gold-contrast: #111827;\n}\n\n.bg-antique-gold { background-color: var(--color-antique-gold); }\n.text-antique-gold { color: var(--color-antique-gold); }\n.border-antique-gold { border-color: var(--color-antique-gold); }\n.surface-antique-gold {\n  background-color: var(--color-antique-gold);\n  color: var(--color-antique-gold-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-antique-gold), #111827 18%);\n}\n.shadow-antique-gold { box-shadow: 0 18px 40px rgb(var(--color-antique-gold-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-gold.json",
    "https://www.colorsencyclopedia.com/api/colors/antique-gold.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/antique-gold/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/antique-gold/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/b08d57/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/antique-gold.json"
}