HEX atlas value

#FEF2CD

#FEF2CD is a warm yellow HEX color nearest Blanched Almond. RGB 254, 242, 205, HSL 45° 96% 90%, luminance 0.8898; view contrast and conversions.

#FEF2CD Sample readable text
HEX #FEF2CD
RGB rgb(254, 242, 205)
HSL hsl(45 96% 90%)
CMYK cmyk(0, 5, 19, 0)
Luminance 0.8898
Contrast Black 18.8:1White 1.12:1

CSS

--color-fef2cd: #FEF2CD;
.background-fef2cd { background-color: #FEF2CD; }
.text-fef2cd { color: #FEF2CD; }

HEX meaning and use

About #FEF2CD

#FEF2CD is classified as a warm yellow value with light and pastel visual character. #FEF2CD is visually closest to Blanched Almond, a named orange color with HEX #FFEBCD.

The RGB channels are 254, 242, and 205, with red carrying the strongest channel weight. In HSL, the hue is 45deg with 96% saturation and 90% lightness, so this page treats it as a high-saturation, light atlas color rather than a generic swatch.

Practical uses for this HEX value include color conversion, WCAG contrast checks, CSS color tokens, and soft UI backgrounds. Its luminance is 0.8898, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 7.07, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text18.8:1AA Pass
White text1.12:1AA Fail

AA text options: #000000, #1A1A1A, #36454F.

AAA text options: #000000, #1A1A1A, #36454F.

Accessibility-Safe Pairings and Alternatives

Use these pairings when #FEF2CD needs readable text, badges, interface states, or nearby accessible alternatives.

Black text#00000018.8:1 · AAA
White text#FFFFFF1.12:1 · Fail

Accessible Alternatives

Generated Palette

Color Harmonies

Variants

Nearest Named Colors

Machine-readable data

Machine-Readable HEX Data (JSON)

Structured HEX color data for conversion, WCAG checks, CSS generation, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.8898
Black text18.8:1AA Pass
White text1.12:1AA Fail
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured sections
Color systems
{"hex":"#FEF2CD","rgb":[254,242,205],"hsl":[45,96,90],"cmyk":[0,5,19,0],"luminance":0.8898,"contrast":{"black":18.8,"white":1.12}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A","#36454F"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":18.8,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.12,"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":"Cream","hex":"#FFFDD0","family":"yellow","bestTextColor":"#000000","contrastBlack":20.21,"contrastWhite":1.04,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#F2FECD","hex":"#F2FECD","family":"green","bestTextColor":"#000000","contrastBlack":19.83,"contrastWhite":1.06,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Lemon Chiffon","hex":"#FFFACD","family":"yellow","bestTextColor":"#000000","contrastBlack":19.81,"contrastWhite":1.06,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Light Goldenrod Yellow","hex":"#FAFAD2","family":"yellow","bestTextColor":"#000000","contrastBlack":19.67,"contrastWhite":1.07,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]}]
AI context
{"semanticGroups":["warm yellow","light","pastel","light yellow","pastel yellow","Blanched Almond 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/fef2cd.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/blanched-almond.json","https://www.colorsencyclopedia.com/api/colors/lemon-chiffon.json","https://www.colorsencyclopedia.com/api/colors/papaya-whip.json"]}
Harmonies
{"complementary":"#CDD9FE","analogous":["#FED9CD","#F2FECD"],"triadic":["#CDFEF2","#F2CDFE"],"tetradic":["#CDFED9","#CDD9FE","#FECDF2"],"splitComplementary":["#CDF2FE","#D9CDFE"],"monochromatic":["#FFFFFF","#FEF2CD","#FCDA73"]}
Variants
{"light":"#FFFFFF","dark":"#FCDA73","saturated":"#FFF2CC","desaturated":"#F8EFD3","pastel":"#FFFFFF","neon":"#FFFCF5"}
Nearest named colors
[{"slug":"blanched-almond","name":"Blanched Almond","hex":"#FFEBCD","distance":7.0710678118654755},{"slug":"lemon-chiffon","name":"Lemon Chiffon","hex":"#FFFACD","distance":8.06225774829855},{"slug":"papaya-whip","name":"Papaya Whip","hex":"#FFEFD5","distance":8.602325267042627},{"slug":"light-goldenrod-yellow","name":"Light Goldenrod Yellow","hex":"#FAFAD2","distance":10.246950765959598},{"slug":"cream","name":"Cream","hex":"#FFFDD0","distance":11.445523142259598}]