HEX atlas value

#F2F7BF

#F2F7BF is a warm yellow HEX color close to Soft Yellow. According to Colors Encyclopedia, it converts to RGB 242, 247, 191, HSL 65, 78%, 86%, has luminance 0.8916, and belongs to the light and pastel groups.

#F2F7BF Sample readable text
HEX #F2F7BF
RGB rgb(242, 247, 191)
HSL hsl(65 78% 86%)
CMYK cmyk(2, 0, 23, 3)
Luminance 0.8916
Contrast Black 18.83:1White 1.12:1

CSS

--color-f2f7bf: #F2F7BF;
.background-f2f7bf { background-color: #F2F7BF; }
.text-f2f7bf { color: #F2F7BF; }

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.8916
Black text18.83: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":"#F2F7BF","rgb":[242,247,191],"hsl":[65,78,86],"cmyk":[2,0,23,3],"luminance":0.8916,"contrast":{"black":18.83,"white":1.12}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A","#36454F"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":18.83,"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":"#F9FFB8","hex":"#F9FFB8","family":"yellow","bestTextColor":"#000000","contrastBlack":20.02,"contrastWhite":1.05,"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"]},{"name":"Soft Yellow","hex":"#FFF8B8","family":"yellow","bestTextColor":"#000000","contrastBlack":19.37,"contrastWhite":1.08,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]}]
AI context
{"semanticGroups":["warm yellow","light","pastel","light yellow","pastel yellow","Soft Yellow 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/f2f7bf.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/soft-yellow.json","https://www.colorsencyclopedia.com/api/colors/lemon-chiffon.json","https://www.colorsencyclopedia.com/api/colors/light-goldenrod-yellow.json"]}
Harmonies
{"complementary":"#C4BFF7","analogous":["#F7E0BF","#D7F7BF"],"triadic":["#BFF3F7","#F7BFF3"],"tetradic":["#BFF7E0","#C4BFF7","#F7BFD7"],"splitComplementary":["#BFD7F7","#E0BFF7"],"monochromatic":["#FFFFFF","#F2F7BF","#E2ED6E"]}
Variants
{"light":"#FFFFFF","dark":"#E2ED6E","saturated":"#F9FFB8","desaturated":"#ECEFC7","pastel":"#FFFFFF","neon":"#FCFFE0"}
Nearest named colors
[{"slug":"soft-yellow","name":"Soft Yellow","hex":"#FFF8B8","distance":14.798648586948742},{"slug":"lemon-chiffon","name":"Lemon Chiffon","hex":"#FFFACD","distance":19.339079605813716},{"slug":"light-goldenrod-yellow","name":"Light Goldenrod Yellow","hex":"#FAFAD2","distance":20.83266665599966},{"slug":"canvas","name":"Canvas","hex":"#F4EBD0","distance":20.904544960366874},{"slug":"vellum","name":"Vellum","hex":"#EFE3C8","distance":22.135943621178654}]

HEX meaning and use

About #F2F7BF

#F2F7BF is classified as a warm yellow value with light and pastel visual character. #F2F7BF is visually closest to Soft Yellow, a named yellow color with HEX #FFF8B8.

The RGB channels are 242, 247, and 191, with green carrying the strongest channel weight. In HSL, the hue is 65deg with 78% saturation and 86% 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.8916, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 14.80, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text18.83: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 #F2F7BF needs readable text, badges, interface states, or nearby accessible alternatives.

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

Accessible Alternatives

White#000000 text · best 21:1#FFFFFF
#F9FFB8#000000 text · best 20.02:1#F9FFB8
Lemon Chiffon#000000 text · best 19.81:1#FFFACD
Light Goldenrod Yellow#000000 text · best 19.67:1#FAFAD2
Soft Yellow#000000 text · best 19.37:1#FFF8B8

Generated Palette

#F2F7BF#F2F7BF
#C4BFF7#C4BFF7
#F7E0BF#F7E0BF
#D7F7BF#D7F7BF
White#FFFFFF
#E2ED6E#E2ED6E

Color Harmonies

#C4BFF7#C4BFF7
#F7E0BF#F7E0BF
#D7F7BF#D7F7BF
#BFF3F7#BFF3F7
#F7BFF3#F7BFF3

Variants

White#FFFFFF
#E2ED6E#E2ED6E
#F9FFB8#F9FFB8
#ECEFC7#ECEFC7
White#FFFFFF
#FCFFE0#FCFFE0

Nearest Named Colors