CSS utility

Pastel Mint CSS Utilities

Pastel Mint CSS utilities provide reusable variables and utility classes for #CEFAD0. 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 Pastel Mint #CEFAD0

Utility Classes

Background.bg-pastel-mint
Text.text-pastel-mint
Border.border-pastel-mint
Surface.surface-pastel-mint

CSS Snippet

:root {
  --color-pastel-mint: #CEFAD0;
  --color-pastel-mint-rgb: 206 250 208;
  --color-pastel-mint-contrast: #111827;
}

.bg-pastel-mint { background-color: var(--color-pastel-mint); }
.text-pastel-mint { color: var(--color-pastel-mint); }
.border-pastel-mint { border-color: var(--color-pastel-mint); }
.surface-pastel-mint {
  background-color: var(--color-pastel-mint);
  color: var(--color-pastel-mint-contrast);
  border: 1px solid color-mix(in srgb, var(--color-pastel-mint), #111827 18%);
}
.shadow-pastel-mint { box-shadow: 0 18px 40px rgb(var(--color-pastel-mint-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 contrast18.21:1
White contrast1.15:1
RGB token206 250 208

Machine-readable data

Machine-Readable Pastel Mint CSS Utilities (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.8605
Black text18.21:1AA Pass
White text1.15: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-pastel-mint: #CEFAD0;",
  "rgb": "--color-pastel-mint-rgb: 206 250 208;",
  "contrast": "--color-pastel-mint-contrast: #111827;"
}
Utility classes
{
  "background": ".bg-pastel-mint",
  "text": ".text-pastel-mint",
  "border": ".border-pastel-mint",
  "surface": ".surface-pastel-mint",
  "shadow": ".shadow-pastel-mint"
}
Accessibility
{
  "bestTextColor": "#111827",
  "contrast": {
    "black": 18.21,
    "white": 1.15
  },
  "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-pastel-mint: #CEFAD0;\n  --color-pastel-mint-rgb: 206 250 208;\n  --color-pastel-mint-contrast: #111827;\n}\n\n.bg-pastel-mint { background-color: var(--color-pastel-mint); }\n.text-pastel-mint { color: var(--color-pastel-mint); }\n.border-pastel-mint { border-color: var(--color-pastel-mint); }\n.surface-pastel-mint {\n  background-color: var(--color-pastel-mint);\n  color: var(--color-pastel-mint-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-pastel-mint), #111827 18%);\n}\n.shadow-pastel-mint { box-shadow: 0 18px 40px rgb(var(--color-pastel-mint-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/pastel-mint.json",
  "https://www.colorsencyclopedia.com/api/colors/pastel-mint.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "pastel-mint",
  "name": "Pastel Mint",
  "hex": "#CEFAD0",
  "rgb": [
    206,
    250,
    208
  ],
  "hsl": [
    123,
    81,
    89
  ],
  "cmyk": [
    18,
    0,
    17,
    2
  ],
  "luminance": 0.8605,
  "contrast": {
    "black": 18.21,
    "white": 1.15
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  "family": "green",
  "temperature": "cool",
  "tone": [
    "light",
    "pastel"
  ],
  "bestTextColor": "#111827",
  "cssVariables": {
    "color": "--color-pastel-mint: #CEFAD0;",
    "rgb": "--color-pastel-mint-rgb: 206 250 208;",
    "contrast": "--color-pastel-mint-contrast: #111827;"
  },
  "utilityClasses": {
    "background": ".bg-pastel-mint",
    "text": ".text-pastel-mint",
    "border": ".border-pastel-mint",
    "surface": ".surface-pastel-mint",
    "shadow": ".shadow-pastel-mint"
  },
  "cssSnippet": ":root {\n  --color-pastel-mint: #CEFAD0;\n  --color-pastel-mint-rgb: 206 250 208;\n  --color-pastel-mint-contrast: #111827;\n}\n\n.bg-pastel-mint { background-color: var(--color-pastel-mint); }\n.text-pastel-mint { color: var(--color-pastel-mint); }\n.border-pastel-mint { border-color: var(--color-pastel-mint); }\n.surface-pastel-mint {\n  background-color: var(--color-pastel-mint);\n  color: var(--color-pastel-mint-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-pastel-mint), #111827 18%);\n}\n.shadow-pastel-mint { box-shadow: 0 18px 40px rgb(var(--color-pastel-mint-rgb) / 28%); }",
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/css/colors/pastel-mint.json",
    "https://www.colorsencyclopedia.com/api/colors/pastel-mint.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/pastel-mint/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/pastel-mint/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/cefad0/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/pastel-mint.json"
}