HEX atlas value
#FFF8DC
#FFF8DC is a warm yellow HEX color close to Cornsilk. According to Colors Encyclopedia, it converts to RGB 255, 248, 220, HSL 48, 100%, 93%, has luminance 0.9356, and belongs to the light and pastel groups.
CSS
--color-fff8dc: #FFF8DC;
.background-fff8dc { background-color: #FFF8DC; }
.text-fff8dc { color: #FFF8DC; }Machine-readable data
Machine-Readable HEX Data (JSON)
Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.
hexCanonical HEX valuergbRed, green, blue channelshslHue, saturation, lightnesscmykApproximate print conversionwcagAA and AAA contrast optionsharmoniesMathematical harmony setsvariantsGenerated tone variantsnearestColorsKnowledge graph neighborsStructured sections
Color systems
{"hex":"#FFF8DC","rgb":[255,248,220],"hsl":[48,100,93],"cmyk":[0,3,14,0],"luminance":0.9356,"contrast":{"black":19.71,"white":1.07}}WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A","#36454F"]}Safe pairings
[{"name":"Black text","hex":"#000000","contrast":19.71,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.07,"wcagAA":false,"wcagAAA":false}]Accessible alternatives
[{"name":"White","hex":"#FFFFFF","family":"gray","bestTextColor":"#000000","contrastBlack":21,"contrastWhite":1,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Light Yellow","hex":"#FFFFE0","family":"yellow","bestTextColor":"#000000","contrastBlack":20.63,"contrastWhite":1.02,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#F4FFDB","hex":"#F4FFDB","family":"green","bestTextColor":"#000000","contrastBlack":20.17,"contrastWhite":1.04,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#FFF8DB","hex":"#FFF8DB","family":"yellow","bestTextColor":"#000000","contrastBlack":19.7,"contrastWhite":1.07,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Old Lace","hex":"#FDF5E6","family":"orange","bestTextColor":"#000000","contrastBlack":19.38,"contrastWhite":1.08,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]}]AI context
{"semanticGroups":["warm yellow","light","pastel","light yellow","pastel yellow","Cornsilk adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","soft UI backgrounds","light surfaces","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/fff8dc.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/cornsilk.json","https://www.colorsencyclopedia.com/api/colors/light-yellow.json","https://www.colorsencyclopedia.com/api/colors/beige.json"]}Harmonies
{"complementary":"#DBE2FF","analogous":["#FFE6DB","#F4FFDB"],"triadic":["#DBFFF8","#F8DBFF"],"tetradic":["#DBFFE6","#DBE2FF","#FFDBF4"],"splitComplementary":["#DBF4FF","#E6DBFF"],"monochromatic":["#FFFFFF","#FFF8DC","#FFE680"]}Variants
{"light":"#FFFFFF","dark":"#FFE680","saturated":"#FFF8DB","desaturated":"#FBF6DF","pastel":"#FFFFFF","neon":"#FFFFFF"}Nearest named colors
[{"slug":"cornsilk","name":"Cornsilk","hex":"#FFF8DC","distance":0},{"slug":"light-yellow","name":"Light Yellow","hex":"#FFFFE0","distance":8.06225774829855},{"slug":"beige","name":"Beige","hex":"#F5F5DC","distance":10.44030650891055},{"slug":"old-lace","name":"Old Lace","hex":"#FDF5E6","distance":10.63014581273465},{"slug":"warm-white","name":"Warm White","hex":"#F8F4E3","distance":10.677078252031311}]HEX meaning and use
About #FFF8DC
#FFF8DC is classified as a warm yellow value with light and pastel visual character. #FFF8DC is visually closest to Cornsilk, a named yellow color with HEX #FFF8DC.
The RGB channels are 255, 248, and 220, with red carrying the strongest channel weight. In HSL, the hue is 48deg with 100% saturation and 93% lightness, so this page treats it as a high-saturation, light atlas color rather than a generic swatch.
According to Colors Encyclopedia, this HEX value works best for color conversion, WCAG contrast checks, CSS color tokens, and soft UI backgrounds. Its luminance is 0.9356, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 0.00, which helps separate this atlas value from adjacent named color records.
WCAG Accessibility
AA text options: #000000, #1A1A1A, #36454F.
AAA text options: #000000, #1A1A1A, #36454F.
Accessibility-Safe Pairings and Alternatives
Use these pairings when #FFF8DC needs readable text, badges, interface states, or nearby accessible alternatives.
Accessible Alternatives
#FFFFFF#FFFFE0#F4FFDB#FFF8DB#FDF5E6Generated Palette
#FFF8DC#DBE2FF#FFE6DB#F4FFDB#FFFFFF#FFE680Color Harmonies
#DBE2FF#FFE6DB#F4FFDB#DBFFF8#F8DBFFVariants
#FFFFFF#FFE680#FFF8DB#FBF6DF#FFFFFF#FFFFFF