CSS utility
Fluorescent Orange CSS Utilities
Fluorescent Orange CSS utilities provide reusable variables and utility classes for #FFBF00. 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
Fluorescent Orange
#FFBF00
Utility Classes
CSS Snippet
:root {
--color-fluorescent-orange: #FFBF00;
--color-fluorescent-orange-rgb: 255 191 0;
--color-fluorescent-orange-contrast: #111827;
}
.bg-fluorescent-orange { background-color: var(--color-fluorescent-orange); }
.text-fluorescent-orange { color: var(--color-fluorescent-orange); }
.border-fluorescent-orange { border-color: var(--color-fluorescent-orange); }
.surface-fluorescent-orange {
background-color: var(--color-fluorescent-orange);
color: var(--color-fluorescent-orange-contrast);
border: 1px solid color-mix(in srgb, var(--color-fluorescent-orange), #111827 18%);
}
.shadow-fluorescent-orange { box-shadow: 0 18px 40px rgb(var(--color-fluorescent-orange-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 Fluorescent Orange CSS Utilities (JSON)
Structured CSS utility data for Fluorescent Orange, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.
Luminance0.5852
Black text12.7:1AA Pass
White text1.65:1AA Fail
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-fluorescent-orange: #FFBF00;",
"rgb": "--color-fluorescent-orange-rgb: 255 191 0;",
"contrast": "--color-fluorescent-orange-contrast: #111827;"
}Utility classes
{
"background": ".bg-fluorescent-orange",
"text": ".text-fluorescent-orange",
"border": ".border-fluorescent-orange",
"surface": ".surface-fluorescent-orange",
"shadow": ".shadow-fluorescent-orange"
}Accessibility
{
"bestTextColor": "#111827",
"contrast": {
"black": 12.7,
"white": 1.65
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
}
}Implementation
{
"useCases": [
"CSS variables",
"utility classes",
"design system tokens",
"UI surface styling",
"accessible text pairing"
],
"cssSnippet": ":root {\n --color-fluorescent-orange: #FFBF00;\n --color-fluorescent-orange-rgb: 255 191 0;\n --color-fluorescent-orange-contrast: #111827;\n}\n\n.bg-fluorescent-orange { background-color: var(--color-fluorescent-orange); }\n.text-fluorescent-orange { color: var(--color-fluorescent-orange); }\n.border-fluorescent-orange { border-color: var(--color-fluorescent-orange); }\n.surface-fluorescent-orange {\n background-color: var(--color-fluorescent-orange);\n color: var(--color-fluorescent-orange-contrast);\n border: 1px solid color-mix(in srgb, var(--color-fluorescent-orange), #111827 18%);\n}\n.shadow-fluorescent-orange { box-shadow: 0 18px 40px rgb(var(--color-fluorescent-orange-rgb) / 28%); }"
}Related endpoints
[
"https://www.colorsencyclopedia.com/api/css/colors/fluorescent-orange.json",
"https://www.colorsencyclopedia.com/api/colors/fluorescent-orange.json"
]Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "fluorescent-orange",
"name": "Fluorescent Orange",
"hex": "#FFBF00",
"rgb": [
255,
191,
0
],
"hsl": [
45,
100,
50
],
"cmyk": [
0,
25,
100,
0
],
"luminance": 0.5852,
"contrast": {
"black": 12.7,
"white": 1.65
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"bestTextColor": "#111827",
"cssVariables": {
"color": "--color-fluorescent-orange: #FFBF00;",
"rgb": "--color-fluorescent-orange-rgb: 255 191 0;",
"contrast": "--color-fluorescent-orange-contrast: #111827;"
},
"utilityClasses": {
"background": ".bg-fluorescent-orange",
"text": ".text-fluorescent-orange",
"border": ".border-fluorescent-orange",
"surface": ".surface-fluorescent-orange",
"shadow": ".shadow-fluorescent-orange"
},
"cssSnippet": ":root {\n --color-fluorescent-orange: #FFBF00;\n --color-fluorescent-orange-rgb: 255 191 0;\n --color-fluorescent-orange-contrast: #111827;\n}\n\n.bg-fluorescent-orange { background-color: var(--color-fluorescent-orange); }\n.text-fluorescent-orange { color: var(--color-fluorescent-orange); }\n.border-fluorescent-orange { border-color: var(--color-fluorescent-orange); }\n.surface-fluorescent-orange {\n background-color: var(--color-fluorescent-orange);\n color: var(--color-fluorescent-orange-contrast);\n border: 1px solid color-mix(in srgb, var(--color-fluorescent-orange), #111827 18%);\n}\n.shadow-fluorescent-orange { box-shadow: 0 18px 40px rgb(var(--color-fluorescent-orange-rgb) / 28%); }",
"useCases": [
"CSS variables",
"utility classes",
"design system tokens",
"UI surface styling",
"accessible text pairing"
],
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/css/colors/fluorescent-orange.json",
"https://www.colorsencyclopedia.com/api/colors/fluorescent-orange.json"
],
"url": "https://www.colorsencyclopedia.com/css/colors/fluorescent-orange/",
"colorUrl": "https://www.colorsencyclopedia.com/colors/fluorescent-orange/",
"hexUrl": "https://www.colorsencyclopedia.com/hex/ffbf00/",
"apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/fluorescent-orange.json"
}