CSS utility

Dim Grey CSS Utilities

Dim Grey CSS utilities provide reusable variables and utility classes for #696969. 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 Dim Grey #696969

Utility Classes

Background.bg-dim-grey
Text.text-dim-grey
Border.border-dim-grey
Surface.surface-dim-grey

CSS Snippet

:root {
  --color-dim-grey: #696969;
  --color-dim-grey-rgb: 105 105 105;
  --color-dim-grey-contrast: #FFFFFF;
}

.bg-dim-grey { background-color: var(--color-dim-grey); }
.text-dim-grey { color: var(--color-dim-grey); }
.border-dim-grey { border-color: var(--color-dim-grey); }
.surface-dim-grey {
  background-color: var(--color-dim-grey);
  color: var(--color-dim-grey-contrast);
  border: 1px solid color-mix(in srgb, var(--color-dim-grey), #111827 18%);
}
.shadow-dim-grey { box-shadow: 0 18px 40px rgb(var(--color-dim-grey-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#FFFFFF
Black contrast3.83:1
White contrast5.49:1
RGB token105 105 105

Machine-readable data

Machine-Readable Dim Grey CSS Utilities (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.1413
Black text3.83:1AA Fail
White text5.49:1AA Pass
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-dim-grey: #696969;",
  "rgb": "--color-dim-grey-rgb: 105 105 105;",
  "contrast": "--color-dim-grey-contrast: #FFFFFF;"
}
Utility classes
{
  "background": ".bg-dim-grey",
  "text": ".text-dim-grey",
  "border": ".border-dim-grey",
  "surface": ".surface-dim-grey",
  "shadow": ".shadow-dim-grey"
}
Accessibility
{
  "bestTextColor": "#FFFFFF",
  "contrast": {
    "black": 3.83,
    "white": 5.49
  },
  "wcag": {
    "AA": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "AAA": []
  }
}
Implementation
{
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "cssSnippet": ":root {\n  --color-dim-grey: #696969;\n  --color-dim-grey-rgb: 105 105 105;\n  --color-dim-grey-contrast: #FFFFFF;\n}\n\n.bg-dim-grey { background-color: var(--color-dim-grey); }\n.text-dim-grey { color: var(--color-dim-grey); }\n.border-dim-grey { border-color: var(--color-dim-grey); }\n.surface-dim-grey {\n  background-color: var(--color-dim-grey);\n  color: var(--color-dim-grey-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-dim-grey), #111827 18%);\n}\n.shadow-dim-grey { box-shadow: 0 18px 40px rgb(var(--color-dim-grey-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/dim-grey.json",
  "https://www.colorsencyclopedia.com/api/colors/dim-grey.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "dim-grey",
  "name": "Dim Grey",
  "hex": "#696969",
  "rgb": [
    105,
    105,
    105
  ],
  "hsl": [
    0,
    0,
    41
  ],
  "cmyk": [
    0,
    0,
    0,
    59
  ],
  "luminance": 0.1413,
  "contrast": {
    "black": 3.83,
    "white": 5.49
  },
  "wcag": {
    "AA": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "AAA": []
  },
  "family": "gray",
  "temperature": "neutral",
  "tone": [
    "muted"
  ],
  "bestTextColor": "#FFFFFF",
  "cssVariables": {
    "color": "--color-dim-grey: #696969;",
    "rgb": "--color-dim-grey-rgb: 105 105 105;",
    "contrast": "--color-dim-grey-contrast: #FFFFFF;"
  },
  "utilityClasses": {
    "background": ".bg-dim-grey",
    "text": ".text-dim-grey",
    "border": ".border-dim-grey",
    "surface": ".surface-dim-grey",
    "shadow": ".shadow-dim-grey"
  },
  "cssSnippet": ":root {\n  --color-dim-grey: #696969;\n  --color-dim-grey-rgb: 105 105 105;\n  --color-dim-grey-contrast: #FFFFFF;\n}\n\n.bg-dim-grey { background-color: var(--color-dim-grey); }\n.text-dim-grey { color: var(--color-dim-grey); }\n.border-dim-grey { border-color: var(--color-dim-grey); }\n.surface-dim-grey {\n  background-color: var(--color-dim-grey);\n  color: var(--color-dim-grey-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-dim-grey), #111827 18%);\n}\n.shadow-dim-grey { box-shadow: 0 18px 40px rgb(var(--color-dim-grey-rgb) / 28%); }",
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/css/colors/dim-grey.json",
    "https://www.colorsencyclopedia.com/api/colors/dim-grey.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/dim-grey/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/dim-grey/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/696969/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/dim-grey.json"
}