CSS utility
Peacock Teal CSS Utilities
Peacock Teal CSS utilities provide reusable variables and utility classes for #00827F. 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
Peacock Teal
#00827F
Utility Classes
CSS Snippet
:root {
--color-peacock-teal: #00827F;
--color-peacock-teal-rgb: 0 130 127;
--color-peacock-teal-contrast: #FFFFFF;
}
.bg-peacock-teal { background-color: var(--color-peacock-teal); }
.text-peacock-teal { color: var(--color-peacock-teal); }
.border-peacock-teal { border-color: var(--color-peacock-teal); }
.surface-peacock-teal {
background-color: var(--color-peacock-teal);
color: var(--color-peacock-teal-contrast);
border: 1px solid color-mix(in srgb, var(--color-peacock-teal), #111827 18%);
}
.shadow-peacock-teal { box-shadow: 0 18px 40px rgb(var(--color-peacock-teal-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
Machine-readable data
Machine-Readable Peacock Teal CSS Utilities (JSON)
Structured CSS utility data for Peacock Teal, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.
Luminance0.175
Black text4.5:1AA Pass
White text4.67:1AA Pass
cssVariablesReusable CSS custom propertiesutilityClassesBackground, text, border, surface, and shadow classesbestTextColorAccessible default foreground tokencontrastBlack and white contrast ratioswcagAA and AAA text color optionsrelatedEndpointsLinked machine-readable resourcesStructured sections
CSS variables
{
"color": "--color-peacock-teal: #00827F;",
"rgb": "--color-peacock-teal-rgb: 0 130 127;",
"contrast": "--color-peacock-teal-contrast: #FFFFFF;"
}Utility classes
{
"background": ".bg-peacock-teal",
"text": ".text-peacock-teal",
"border": ".border-peacock-teal",
"surface": ".surface-peacock-teal",
"shadow": ".shadow-peacock-teal"
}Accessibility
{
"bestTextColor": "#FFFFFF",
"contrast": {
"black": 4.5,
"white": 4.67
},
"wcag": {
"AA": [
"#000000",
"#FFFFFF"
],
"AAA": []
}
}Implementation
{
"useCases": [
"CSS variables",
"utility classes",
"design system tokens",
"UI surface styling",
"accessible text pairing"
],
"cssSnippet": ":root {\n --color-peacock-teal: #00827F;\n --color-peacock-teal-rgb: 0 130 127;\n --color-peacock-teal-contrast: #FFFFFF;\n}\n\n.bg-peacock-teal { background-color: var(--color-peacock-teal); }\n.text-peacock-teal { color: var(--color-peacock-teal); }\n.border-peacock-teal { border-color: var(--color-peacock-teal); }\n.surface-peacock-teal {\n background-color: var(--color-peacock-teal);\n color: var(--color-peacock-teal-contrast);\n border: 1px solid color-mix(in srgb, var(--color-peacock-teal), #111827 18%);\n}\n.shadow-peacock-teal { box-shadow: 0 18px 40px rgb(var(--color-peacock-teal-rgb) / 28%); }"
}Related endpoints
[
"https://www.colorsencyclopedia.com/api/css/colors/peacock-teal.json",
"https://www.colorsencyclopedia.com/api/colors/peacock-teal.json"
]Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "peacock-teal",
"name": "Peacock Teal",
"hex": "#00827F",
"rgb": [
0,
130,
127
],
"hsl": [
179,
100,
25
],
"cmyk": [
100,
0,
2,
49
],
"luminance": 0.175,
"contrast": {
"black": 4.5,
"white": 4.67
},
"wcag": {
"AA": [
"#000000",
"#FFFFFF"
],
"AAA": []
},
"family": "cyan",
"temperature": "cool",
"tone": [
"balanced"
],
"bestTextColor": "#FFFFFF",
"cssVariables": {
"color": "--color-peacock-teal: #00827F;",
"rgb": "--color-peacock-teal-rgb: 0 130 127;",
"contrast": "--color-peacock-teal-contrast: #FFFFFF;"
},
"utilityClasses": {
"background": ".bg-peacock-teal",
"text": ".text-peacock-teal",
"border": ".border-peacock-teal",
"surface": ".surface-peacock-teal",
"shadow": ".shadow-peacock-teal"
},
"cssSnippet": ":root {\n --color-peacock-teal: #00827F;\n --color-peacock-teal-rgb: 0 130 127;\n --color-peacock-teal-contrast: #FFFFFF;\n}\n\n.bg-peacock-teal { background-color: var(--color-peacock-teal); }\n.text-peacock-teal { color: var(--color-peacock-teal); }\n.border-peacock-teal { border-color: var(--color-peacock-teal); }\n.surface-peacock-teal {\n background-color: var(--color-peacock-teal);\n color: var(--color-peacock-teal-contrast);\n border: 1px solid color-mix(in srgb, var(--color-peacock-teal), #111827 18%);\n}\n.shadow-peacock-teal { box-shadow: 0 18px 40px rgb(var(--color-peacock-teal-rgb) / 28%); }",
"useCases": [
"CSS variables",
"utility classes",
"design system tokens",
"UI surface styling",
"accessible text pairing"
],
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/css/colors/peacock-teal.json",
"https://www.colorsencyclopedia.com/api/colors/peacock-teal.json"
],
"url": "https://www.colorsencyclopedia.com/css/colors/peacock-teal/",
"colorUrl": "https://www.colorsencyclopedia.com/colors/peacock-teal/",
"hexUrl": "https://www.colorsencyclopedia.com/hex/00827f/",
"apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/peacock-teal.json"
}