CSS utility

Spring Green CSS Utilities

Spring Green CSS utilities provide reusable variables and utility classes for #00FF7F. 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 Spring Green #00FF7F

Utility Classes

Background.bg-spring-green
Text.text-spring-green
Border.border-spring-green
Surface.surface-spring-green

CSS Snippet

:root {
  --color-spring-green: #00FF7F;
  --color-spring-green-rgb: 0 255 127;
  --color-spring-green-contrast: #111827;
}

.bg-spring-green { background-color: var(--color-spring-green); }
.text-spring-green { color: var(--color-spring-green); }
.border-spring-green { border-color: var(--color-spring-green); }
.surface-spring-green {
  background-color: var(--color-spring-green);
  color: var(--color-spring-green-contrast);
  border: 1px solid color-mix(in srgb, var(--color-spring-green), #111827 18%);
}
.shadow-spring-green { box-shadow: 0 18px 40px rgb(var(--color-spring-green-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 contrast15.61:1
White contrast1.35:1
RGB token0 255 127

Machine-readable data

Machine-Readable Spring Green CSS Utilities (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.7305
Black text15.61:1AA Pass
White text1.35: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-spring-green: #00FF7F;",
  "rgb": "--color-spring-green-rgb: 0 255 127;",
  "contrast": "--color-spring-green-contrast: #111827;"
}
Utility classes
{
  "background": ".bg-spring-green",
  "text": ".text-spring-green",
  "border": ".border-spring-green",
  "surface": ".surface-spring-green",
  "shadow": ".shadow-spring-green"
}
Accessibility
{
  "bestTextColor": "#111827",
  "contrast": {
    "black": 15.61,
    "white": 1.35
  },
  "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-spring-green: #00FF7F;\n  --color-spring-green-rgb: 0 255 127;\n  --color-spring-green-contrast: #111827;\n}\n\n.bg-spring-green { background-color: var(--color-spring-green); }\n.text-spring-green { color: var(--color-spring-green); }\n.border-spring-green { border-color: var(--color-spring-green); }\n.surface-spring-green {\n  background-color: var(--color-spring-green);\n  color: var(--color-spring-green-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-spring-green), #111827 18%);\n}\n.shadow-spring-green { box-shadow: 0 18px 40px rgb(var(--color-spring-green-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/spring-green.json",
  "https://www.colorsencyclopedia.com/api/colors/spring-green.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "spring-green",
  "name": "Spring Green",
  "hex": "#00FF7F",
  "rgb": [
    0,
    255,
    127
  ],
  "hsl": [
    150,
    100,
    50
  ],
  "cmyk": [
    100,
    0,
    50,
    0
  ],
  "luminance": 0.7305,
  "contrast": {
    "black": 15.61,
    "white": 1.35
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  "family": "green",
  "temperature": "cool",
  "tone": [
    "vibrant"
  ],
  "bestTextColor": "#111827",
  "cssVariables": {
    "color": "--color-spring-green: #00FF7F;",
    "rgb": "--color-spring-green-rgb: 0 255 127;",
    "contrast": "--color-spring-green-contrast: #111827;"
  },
  "utilityClasses": {
    "background": ".bg-spring-green",
    "text": ".text-spring-green",
    "border": ".border-spring-green",
    "surface": ".surface-spring-green",
    "shadow": ".shadow-spring-green"
  },
  "cssSnippet": ":root {\n  --color-spring-green: #00FF7F;\n  --color-spring-green-rgb: 0 255 127;\n  --color-spring-green-contrast: #111827;\n}\n\n.bg-spring-green { background-color: var(--color-spring-green); }\n.text-spring-green { color: var(--color-spring-green); }\n.border-spring-green { border-color: var(--color-spring-green); }\n.surface-spring-green {\n  background-color: var(--color-spring-green);\n  color: var(--color-spring-green-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-spring-green), #111827 18%);\n}\n.shadow-spring-green { box-shadow: 0 18px 40px rgb(var(--color-spring-green-rgb) / 28%); }",
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/css/colors/spring-green.json",
    "https://www.colorsencyclopedia.com/api/colors/spring-green.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/spring-green/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/spring-green/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/00ff7f/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/spring-green.json"
}