Generated palette
Yellow Palette
Yellow Palette: #FFFF00, #0000FF, #FF8000, #80FF00. Check roles, contrast and CSS variables; open source-color links and JSON.
Yellow Palette assigns primary #FFFF00, secondary #0000FF, surface #FF8000, background #80FF00, accent #000000. The set spans Yellow, Blue, Orange, and Green families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #FFFF00 at 0.9278; black gives higher contrast on 3 of 5 values.
Palette Color Roles
Yellow Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#FFFF00Yellow#0000FFBlue#FF8000#FF8000#80FF00#80FF00#000000BlackCSS Variables
--palette-yellow-primary: #FFFF00; --palette-yellow-secondary: #0000FF; --palette-yellow-surface: #FF8000; --palette-yellow-background: #80FF00; --palette-yellow-accent: #000000;
Accessibility Snapshot
Compare all 5 Yellow Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Yellow Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Yellow Palette Data (JSON)
Structured palette data for Yellow Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured sections
Roles
[
{
"role": "primary",
"hex": "#FFFF00",
"name": "Yellow"
},
{
"role": "secondary",
"hex": "#0000FF",
"name": "Blue"
},
{
"role": "surface",
"hex": "#FF8000",
"name": "#FF8000"
},
{
"role": "background",
"hex": "#80FF00",
"name": "#80FF00"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#FFFF00",
"name": "Yellow",
"blackContrast": 19.56,
"whiteContrast": 1.07,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "secondary",
"hex": "#0000FF",
"name": "Blue",
"blackContrast": 2.44,
"whiteContrast": 8.59,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#FF8000",
"name": "#FF8000",
"blackContrast": 8.34,
"whiteContrast": 2.52,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": [
"#000000"
]
},
{
"role": "background",
"hex": "#80FF00",
"name": "#80FF00",
"blackContrast": 16.22,
"whiteContrast": 1.29,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"yellow palette",
"generated palette",
"blue palette",
"orange palette",
"green palette",
"gray palette",
"vibrant palette",
"dark palette",
"neutral palette",
"warm palette",
"cool palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes",
"calm digital interfaces"
]CSS variables
"--palette-yellow-primary: #FFFF00;\n--palette-yellow-secondary: #0000FF;\n--palette-yellow-surface: #FF8000;\n--palette-yellow-background: #80FF00;\n--palette-yellow-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "yellow",
"name": "Yellow Palette",
"type": "generated",
"sourceColor": "yellow",
"description": "Generated palette built from Yellow, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Yellow Palette combines primary #FFFF00, secondary #0000FF, surface #FF8000, background #80FF00, accent #000000. According to Colors Encyclopedia, the palette works as a blue palette, orange palette, green palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
"semanticGroups": [
"yellow palette",
"generated palette",
"blue palette",
"orange palette",
"green palette",
"gray palette",
"vibrant palette",
"dark palette",
"neutral palette",
"warm palette",
"cool palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"wellness and botanical palettes",
"calm digital interfaces"
],
"colors": [
{
"role": "primary",
"hex": "#FFFF00",
"slug": "yellow",
"name": "Yellow",
"rgb": [
255,
255,
0
],
"hsl": [
60,
100,
50
],
"cmyk": [
0,
0,
100,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.9278,
"contrast": {
"black": 19.56,
"white": 1.07
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": "https://www.colorsencyclopedia.com/colors/yellow/"
},
{
"role": "secondary",
"hex": "#0000FF",
"slug": "blue",
"name": "Blue",
"rgb": [
0,
0,
255
],
"hsl": [
240,
100,
50
],
"cmyk": [
100,
100,
0,
0
],
"family": "blue",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.0722,
"contrast": {
"black": 2.44,
"white": 8.59
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/blue/"
},
{
"role": "surface",
"hex": "#FF8000",
"slug": null,
"name": "#FF8000",
"rgb": [
255,
128,
0
],
"hsl": [
30,
100,
50
],
"cmyk": [
0,
50,
100,
0
],
"family": "orange",
"temperature": "warm",
"tone": [
"vibrant"
],
"luminance": 0.367,
"contrast": {
"black": 8.34,
"white": 2.52
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A"
],
"AAA": [
"#000000"
]
},
"url": null
},
{
"role": "background",
"hex": "#80FF00",
"slug": null,
"name": "#80FF00",
"rgb": [
128,
255,
0
],
"hsl": [
90,
100,
50
],
"cmyk": [
50,
0,
100,
0
],
"family": "green",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.7611,
"contrast": {
"black": 16.22,
"white": 1.29
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": null
},
{
"role": "accent",
"hex": "#000000",
"slug": "black",
"name": "Black",
"rgb": [
0,
0,
0
],
"hsl": [
0,
0,
0
],
"cmyk": [
0,
0,
0,
100
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark",
"neutral"
],
"luminance": 0,
"contrast": {
"black": 1,
"white": 21
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/black/"
}
],
"roles": [
{
"role": "primary",
"hex": "#FFFF00",
"name": "Yellow"
},
{
"role": "secondary",
"hex": "#0000FF",
"name": "Blue"
},
{
"role": "surface",
"hex": "#FF8000",
"name": "#FF8000"
},
{
"role": "background",
"hex": "#80FF00",
"name": "#80FF00"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#FFFF00",
"name": "Yellow",
"blackContrast": 19.56,
"whiteContrast": 1.07,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "secondary",
"hex": "#0000FF",
"name": "Blue",
"blackContrast": 2.44,
"whiteContrast": 8.59,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#FF8000",
"name": "#FF8000",
"blackContrast": 8.34,
"whiteContrast": 2.52,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A"
],
"aaaTextOptions": [
"#000000"
]
},
{
"role": "background",
"hex": "#80FF00",
"name": "#80FF00",
"blackContrast": 16.22,
"whiteContrast": 1.29,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-yellow-primary: #FFFF00;\n--palette-yellow-secondary: #0000FF;\n--palette-yellow-surface: #FF8000;\n--palette-yellow-background: #80FF00;\n--palette-yellow-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/yellow.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/yellow.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/yellow/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/yellow.json"
}