yellow color
Cornsilk
Cornsilk is #FFF8DC, a warm yellow with hue 48°, saturation 100% and luminance 0.9356. Beside Light Yellow, it is darker and equally saturated. Of the two standard text choices, black text gives the higher contrast at 19.71:1.
Nearest-color comparison
Cornsilk #FFF8DC vs Light Yellow #FFFFE0: RGB distance 8.1 and contrast 1.05:1. Compare hue, luminance, saturation, WCAG and practical use.
Cornsilk and Light Yellow are very close, with an RGB distance of 8.1. Light Yellow is lighter by 0.046, and their saturation is equal. Their mutual contrast is 1.05:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.
The main measurable differences between Cornsilk and Light Yellow across RGB distance, luminance, hue, saturation, and contrast.
yellow color
Cornsilk is #FFF8DC, a warm yellow with hue 48°, saturation 100% and luminance 0.9356. Beside Light Yellow, it is darker and equally saturated. Of the two standard text choices, black text gives the higher contrast at 19.71:1.
yellow color
Light Yellow is #FFFFE0, a warm yellow with hue 60°, saturation 100% and luminance 0.9816. Beside Cornsilk, it is lighter and equally saturated. Of the two standard text choices, black text gives the higher contrast at 20.63:1.
Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.
Downloadable color comparison infographic
Save a high-resolution comparison infographic with both HEX colors, visual distance, mutual contrast, and accessibility guidance.

A compact visual strip showing the two compared colors with nearby harmony and variant context.
Machine-readable data
Structured comparison data for Cornsilk and Light Yellow, including color systems, RGB distance, HSL deltas, contrast, accessibility guidance, use cases, and API links.
colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and linksdifferencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributesaccessibilityPair contrast and safer text choices for each coloruseCasesWhen to choose each color and when to use them togetherrelatedApiMachine-readable comparison and color endpoints[
{
"slug": "cornsilk",
"name": "Cornsilk",
"hex": "#FFF8DC",
"rgb": [
255,
248,
220
],
"hsl": [
48,
100,
93
],
"cmyk": [
0,
3,
14,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light",
"pastel"
],
"luminance": 0.9356,
"contrast": {
"black": 19.71,
"white": 1.07
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 19.71
},
"description": "Cornsilk is #FFF8DC, a warm yellow color with light and pastel character. Compared with Light Yellow, it is darker and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/cornsilk/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/cornsilk.json"
},
{
"slug": "light-yellow",
"name": "Light Yellow",
"hex": "#FFFFE0",
"rgb": [
255,
255,
224
],
"hsl": [
60,
100,
94
],
"cmyk": [
0,
0,
12,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light",
"pastel"
],
"luminance": 0.9816,
"contrast": {
"black": 20.63,
"white": 1.02
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 20.63
},
"description": "Light Yellow is #FFFFE0, a warm yellow color with light and pastel character. Compared with Cornsilk, it is lighter and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/light-yellow/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/light-yellow.json"
}
]{
"rgbDistance": 8.1,
"contrastRatio": 1.05,
"hslDelta": {
"hue": 12,
"saturation": 0,
"lightness": 1
},
"luminanceDelta": 0.046,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"light",
"pastel"
],
"lighterColor": "Light Yellow",
"moreSaturatedColor": "Cornsilk"
}{
"pairContrastRatio": 1.05,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Cornsilk",
"background": "#FFF8DC",
"foreground": "#000000",
"label": "black text",
"ratio": 19.71
},
{
"color": "Light Yellow",
"background": "#FFFFE0",
"foreground": "#000000",
"label": "black text",
"ratio": 20.63
}
]
}{
"chooseFirstWhen": "Cornsilk is better when the design needs light and pastel yellow character, warm temperature, and the specific HEX value #FFF8DC.",
"chooseSecondWhen": "Light Yellow is better when the design needs light and pastel yellow character, warm temperature, and the specific HEX value #FFFFE0.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
}[
"https://www.colorsencyclopedia.com/api/compare/cornsilk-vs-light-yellow.json",
"https://www.colorsencyclopedia.com/api/colors/cornsilk.json",
"https://www.colorsencyclopedia.com/api/colors/light-yellow.json"
]{
"datasetVersion": "1.0.0",
"slug": "cornsilk-vs-light-yellow",
"type": "nearest",
"name": "Cornsilk vs Light Yellow",
"verdict": "Cornsilk and Light Yellow are very close colors. Light Yellow is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.05:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Cornsilk and Light Yellow are different yellow colors with HEX values #FFF8DC and #FFFFE0. According to Colors Encyclopedia, their RGB distance is 8.1, their contrast ratio is 1.05:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 8.1,
"contrastRatio": 1.05,
"colors": [
{
"slug": "cornsilk",
"name": "Cornsilk",
"hex": "#FFF8DC",
"rgb": [
255,
248,
220
],
"hsl": [
48,
100,
93
],
"cmyk": [
0,
3,
14,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light",
"pastel"
],
"luminance": 0.9356,
"contrast": {
"black": 19.71,
"white": 1.07
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 19.71
},
"description": "Cornsilk is #FFF8DC, a warm yellow color with light and pastel character. Compared with Light Yellow, it is darker and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/cornsilk/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/cornsilk.json"
},
{
"slug": "light-yellow",
"name": "Light Yellow",
"hex": "#FFFFE0",
"rgb": [
255,
255,
224
],
"hsl": [
60,
100,
94
],
"cmyk": [
0,
0,
12,
0
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light",
"pastel"
],
"luminance": 0.9816,
"contrast": {
"black": 20.63,
"white": 1.02
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 20.63
},
"description": "Light Yellow is #FFFFE0, a warm yellow color with light and pastel character. Compared with Cornsilk, it is lighter and similar in saturation. Use it for web design, css color systems, and ui prototyping, with black text as the safer foreground option.",
"url": "https://www.colorsencyclopedia.com/colors/light-yellow/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/light-yellow.json"
}
],
"differences": {
"rgbDistance": 8.1,
"contrastRatio": 1.05,
"hslDelta": {
"hue": 12,
"saturation": 0,
"lightness": 1
},
"luminanceDelta": 0.046,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"light",
"pastel"
],
"lighterColor": "Light Yellow",
"moreSaturatedColor": "Cornsilk"
},
"accessibility": {
"pairContrastRatio": 1.05,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Cornsilk",
"background": "#FFF8DC",
"foreground": "#000000",
"label": "black text",
"ratio": 19.71
},
{
"color": "Light Yellow",
"background": "#FFFFE0",
"foreground": "#000000",
"label": "black text",
"ratio": 20.63
}
]
},
"useCases": {
"chooseFirstWhen": "Cornsilk is better when the design needs light and pastel yellow character, warm temperature, and the specific HEX value #FFF8DC.",
"chooseSecondWhen": "Light Yellow is better when the design needs light and pastel yellow character, warm temperature, and the specific HEX value #FFFFE0.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
},
"relatedApi": [
"https://www.colorsencyclopedia.com/api/compare/cornsilk-vs-light-yellow.json",
"https://www.colorsencyclopedia.com/api/colors/cornsilk.json",
"https://www.colorsencyclopedia.com/api/colors/light-yellow.json"
],
"url": "https://www.colorsencyclopedia.com/compare/cornsilk-vs-light-yellow/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/cornsilk-vs-light-yellow.json"
}