HEX atlas value

#F6E298

#F6E298 is a warm yellow HEX color close to Khaki. According to Colors Encyclopedia, it converts to RGB 246, 226, 152, HSL 47, 84%, 78%, has luminance 0.7625, and belongs to the pastel group.

#F6E298 Sample readable text
HEX #F6E298
RGB rgb(246, 226, 152)
HSL hsl(47 84% 78%)
CMYK cmyk(0, 8, 38, 4)
Luminance 0.7625
Contrast Black 16.25:1White 1.29:1

CSS

--color-f6e298: #F6E298;
.background-f6e298 { background-color: #F6E298; }
.text-f6e298 { color: #F6E298; }

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.7625
Black text16.25:1AA Pass
White text1.29: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":"#F6E298","rgb":[246,226,152],"hsl":[47,84,78],"cmyk":[0,8,38,4],"luminance":0.7625,"contrast":{"black":16.25,"white":1.29}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A","#36454F"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":16.25,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.29,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FDFAEC","hex":"#FDFAEC","family":"yellow","bestTextColor":"#000000","contrastBlack":20.06,"contrastWhite":1.05,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#DBF698","hex":"#DBF698","family":"green","bestTextColor":"#000000","contrastBlack":17.65,"contrastWhite":1.19,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#FFE78F","hex":"#FFE78F","family":"yellow","bestTextColor":"#000000","contrastBlack":17.08,"contrastWhite":1.23,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Pale Goldenrod","hex":"#EEE8AA","family":"yellow","bestTextColor":"#000000","contrastBlack":16.76,"contrastWhite":1.25,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Vanilla","hex":"#F3E5AB","family":"yellow","bestTextColor":"#000000","contrastBlack":16.61,"contrastWhite":1.26,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]}]
AI context
{"semanticGroups":["warm yellow","pastel","pastel yellow","Khaki adjacent"],"useCases":["color conversion","WCAG contrast checks","CSS color tokens","soft UI backgrounds","highlight and warning systems"],"contrastSafeWith":["#000000","#1A1A1A","#36454F"],"relatedEndpoints":["https://www.colorsencyclopedia.com/api/hex/f6e298.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/khaki.json","https://www.colorsencyclopedia.com/api/colors/soft-peach.json","https://www.colorsencyclopedia.com/api/colors/vanilla.json"]}
Harmonies
{"complementary":"#98ACF6","analogous":["#F6B298","#DBF698"],"triadic":["#98F6E2","#E298F6"],"tetradic":["#98F6B2","#98ACF6","#F698DB"],"splitComplementary":["#98DBF6","#B298F6"],"monochromatic":["#FDFAEC","#F6E298","#EFCA43"]}
Variants
{"light":"#FDFAEC","dark":"#EFCA43","saturated":"#FFE78F","desaturated":"#EADBA4","pastel":"#FFFFFF","neon":"#FFF0B8"}
Nearest named colors
[{"slug":"khaki","name":"Khaki","hex":"#F0E68C","distance":14},{"slug":"soft-peach","name":"Soft Peach","hex":"#FAD7A0","distance":14.177446878757825},{"slug":"vanilla","name":"Vanilla","hex":"#F3E5AB","distance":19.467922333931785},{"slug":"pale-goldenrod","name":"Pale Goldenrod","hex":"#EEE8AA","distance":20.591260281974},{"slug":"navajo-white","name":"Navajo White","hex":"#FFDEAD","distance":23.194827009486403}]

HEX meaning and use

About #F6E298

#F6E298 is classified as a warm yellow value with pastel visual character. #F6E298 is visually closest to Khaki, a named yellow color with HEX #F0E68C.

The RGB channels are 246, 226, and 152, with red carrying the strongest channel weight. In HSL, the hue is 47deg with 84% saturation and 78% 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.7625, black text provides the stronger contrast for readable interface or documentation use, and Its nearest named-color distance is 14.00, which helps separate this atlas value from adjacent named color records.

WCAG Accessibility

Black text16.25:1AA Pass
White text1.29:1AA Fail

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

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

Accessibility-Safe Pairings and Alternatives

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

Black text#00000016.25:1 · AAA
White text#FFFFFF1.29:1 · Fail

Accessible Alternatives

#FDFAEC#000000 text · best 20.06:1#FDFAEC
#DBF698#000000 text · best 17.65:1#DBF698
#FFE78F#000000 text · best 17.08:1#FFE78F
Pale Goldenrod#000000 text · best 16.76:1#EEE8AA
Vanilla#000000 text · best 16.61:1#F3E5AB

Generated Palette

#F6E298#F6E298
#98ACF6#98ACF6
#F6B298#F6B298
#DBF698#DBF698
#FDFAEC#FDFAEC
#EFCA43#EFCA43

Color Harmonies

#98ACF6#98ACF6
#F6B298#F6B298
#DBF698#DBF698
#98F6E2#98F6E2
#E298F6#E298F6

Variants

#FDFAEC#FDFAEC
#EFCA43#EFCA43
#FFE78F#FFE78F
#EADBA4#EADBA4
White#FFFFFF
#FFF0B8#FFF0B8

Nearest Named Colors