yellow color
Beige
Beige is #F5F5DC, a warm yellow with hue 60°, saturation 56% and luminance 0.8988. Beside Cornsilk, it is darker and less saturated. Of the two standard text choices, black text gives the higher contrast at 18.98:1.
Nearest-color comparison
Beige #F5F5DC vs Cornsilk #FFF8DC: RGB distance 10.4 and contrast 1.04:1. Compare hue, luminance, saturation, WCAG and practical use.
Beige and Cornsilk are very close, with an RGB distance of 10.4. Cornsilk is lighter by 0.0368, and Cornsilk is more saturated by 44 percentage points. Their mutual contrast is 1.04:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.
The main measurable differences between Beige and Cornsilk across RGB distance, luminance, hue, saturation, and contrast.
yellow color
Beige is #F5F5DC, a warm yellow with hue 60°, saturation 56% and luminance 0.8988. Beside Cornsilk, it is darker and less saturated. Of the two standard text choices, black text gives the higher contrast at 18.98:1.
yellow color
Cornsilk is #FFF8DC, a warm yellow with hue 48°, saturation 100% and luminance 0.9356. Beside Beige, it is lighter and more saturated. Of the two standard text choices, black text gives the higher contrast at 19.71: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 Beige and Cornsilk, 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": "beige",
"name": "Beige",
"hex": "#F5F5DC",
"rgb": [
245,
245,
220
],
"hsl": [
60,
56,
91
],
"cmyk": [
0,
0,
10,
4
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light"
],
"luminance": 0.8988,
"contrast": {
"black": 18.98,
"white": 1.11
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 18.98
},
"description": "Beige is #F5F5DC, a warm yellow color with light character. Compared with Cornsilk, it is darker and less saturated. 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/beige/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/beige.json"
},
{
"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 Beige, it is lighter and more saturated. 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"
}
]{
"rgbDistance": 10.4,
"contrastRatio": 1.04,
"hslDelta": {
"hue": 12,
"saturation": 44,
"lightness": 2
},
"luminanceDelta": 0.0368,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"light"
],
"lighterColor": "Cornsilk",
"moreSaturatedColor": "Cornsilk"
}{
"pairContrastRatio": 1.04,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Beige",
"background": "#F5F5DC",
"foreground": "#000000",
"label": "black text",
"ratio": 18.98
},
{
"color": "Cornsilk",
"background": "#FFF8DC",
"foreground": "#000000",
"label": "black text",
"ratio": 19.71
}
]
}{
"chooseFirstWhen": "Beige is better when the design needs light yellow character, warm temperature, and the specific HEX value #F5F5DC.",
"chooseSecondWhen": "Cornsilk is better when the design needs light and pastel yellow character, warm temperature, and the specific HEX value #FFF8DC.",
"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/beige-vs-cornsilk.json",
"https://www.colorsencyclopedia.com/api/colors/beige.json",
"https://www.colorsencyclopedia.com/api/colors/cornsilk.json"
]{
"datasetVersion": "1.0.0",
"slug": "beige-vs-cornsilk",
"type": "nearest",
"name": "Beige vs Cornsilk",
"verdict": "Beige and Cornsilk are very close colors. Cornsilk is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.04:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Beige and Cornsilk are different yellow colors with HEX values #F5F5DC and #FFF8DC. According to Colors Encyclopedia, their RGB distance is 10.4, their contrast ratio is 1.04:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 10.4,
"contrastRatio": 1.04,
"colors": [
{
"slug": "beige",
"name": "Beige",
"hex": "#F5F5DC",
"rgb": [
245,
245,
220
],
"hsl": [
60,
56,
91
],
"cmyk": [
0,
0,
10,
4
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light"
],
"luminance": 0.8988,
"contrast": {
"black": 18.98,
"white": 1.11
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"bestText": {
"text": "#000000",
"label": "black text",
"ratio": 18.98
},
"description": "Beige is #F5F5DC, a warm yellow color with light character. Compared with Cornsilk, it is darker and less saturated. 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/beige/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/beige.json"
},
{
"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 Beige, it is lighter and more saturated. 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"
}
],
"differences": {
"rgbDistance": 10.4,
"contrastRatio": 1.04,
"hslDelta": {
"hue": 12,
"saturation": 44,
"lightness": 2
},
"luminanceDelta": 0.0368,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"light"
],
"lighterColor": "Cornsilk",
"moreSaturatedColor": "Cornsilk"
},
"accessibility": {
"pairContrastRatio": 1.04,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Beige",
"background": "#F5F5DC",
"foreground": "#000000",
"label": "black text",
"ratio": 18.98
},
{
"color": "Cornsilk",
"background": "#FFF8DC",
"foreground": "#000000",
"label": "black text",
"ratio": 19.71
}
]
},
"useCases": {
"chooseFirstWhen": "Beige is better when the design needs light yellow character, warm temperature, and the specific HEX value #F5F5DC.",
"chooseSecondWhen": "Cornsilk is better when the design needs light and pastel yellow character, warm temperature, and the specific HEX value #FFF8DC.",
"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/beige-vs-cornsilk.json",
"https://www.colorsencyclopedia.com/api/colors/beige.json",
"https://www.colorsencyclopedia.com/api/colors/cornsilk.json"
],
"url": "https://www.colorsencyclopedia.com/compare/beige-vs-cornsilk/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/beige-vs-cornsilk.json"
}