HEX atlas value

#F6E998

#F6E998 is a warm yellow HEX color close to Khaki. According to Colors Encyclopedia, it converts to RGB 246, 233, 152, HSL 52, 84%, 78%, has luminance 0.8014, and belongs to the pastel group.

#F6E998 Sample readable text
HEX #F6E998
RGB rgb(246, 233, 152)
HSL hsl(52 84% 78%)
CMYK cmyk(0, 5, 38, 4)
Luminance 0.8014
Contrast Black 17.03:1White 1.23:1

CSS

--color-f6e998: #F6E998;
.background-f6e998 { background-color: #F6E998; }
.text-f6e998 { color: #F6E998; }

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.8014
Black text17.03:1AA Pass
White text1.23: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":"#F6E998","rgb":[246,233,152],"hsl":[52,84,78],"cmyk":[0,5,38,4],"luminance":0.8014,"contrast":{"black":17.03,"white":1.23}}
WCAG
{"AA":["#000000","#1A1A1A","#36454F"],"AAA":["#000000","#1A1A1A","#36454F"]}
Safe pairings
[{"name":"Black text","hex":"#000000","contrast":17.03,"wcagAA":true,"wcagAAA":true},{"name":"White text","hex":"#FFFFFF","contrast":1.23,"wcagAA":false,"wcagAAA":false}]
Accessible alternatives
[{"name":"#FDFBEC","hex":"#FDFBEC","family":"yellow","bestTextColor":"#000000","contrastBlack":20.19,"contrastWhite":1.04,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"Butter","hex":"#FFF1A8","family":"yellow","bestTextColor":"#000000","contrastBlack":18.4,"contrastWhite":1.14,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#FFF08F","hex":"#FFF08F","family":"yellow","bestTextColor":"#000000","contrastBlack":18.11,"contrastWhite":1.16,"wcagAA":["#000000","#1A1A1A","#36454F"],"wcagAAA":["#000000","#1A1A1A","#36454F"]},{"name":"#D3F698","hex":"#D3F698","family":"green","bestTextColor":"#000000","contrastBlack":17.41,"contrastWhite":1.21,"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"]}]
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/f6e998.json","https://www.colorsencyclopedia.com/api/hex.json","https://www.colorsencyclopedia.com/api/colors/khaki.json","https://www.colorsencyclopedia.com/api/colors/vanilla.json","https://www.colorsencyclopedia.com/api/colors/pale-goldenrod.json"]}
Harmonies
{"complementary":"#98A4F6","analogous":["#F6BA98","#D3F698"],"triadic":["#98F6E9","#E998F6"],"tetradic":["#98F6BA","#98A4F6","#F698D3"],"splitComplementary":["#98D3F6","#BA98F6"],"monochromatic":["#FDFBEC","#F6E998","#EFD843"]}
Variants
{"light":"#FDFBEC","dark":"#EFD843","saturated":"#FFF08F","desaturated":"#EAE0A4","pastel":"#FFFFFF","neon":"#FFF5B8"}
Nearest named colors
[{"slug":"khaki","name":"Khaki","hex":"#F0E68C","distance":13.74772708486752},{"slug":"vanilla","name":"Vanilla","hex":"#F3E5AB","distance":19.6468827043885},{"slug":"pale-goldenrod","name":"Pale Goldenrod","hex":"#EEE8AA","distance":19.72308292331602},{"slug":"butter","name":"Butter","hex":"#FFF1A8","distance":20.024984394500787},{"slug":"soft-peach","name":"Soft Peach","hex":"#FAD7A0","distance":20.09975124224178}]

HEX meaning and use

About #F6E998

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

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

WCAG Accessibility

Black text17.03:1AA Pass
White text1.23:1AA Fail

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

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

Accessibility-Safe Pairings and Alternatives

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

Black text#00000017.03:1 · AAA
White text#FFFFFF1.23:1 · Fail

Accessible Alternatives

#FDFBEC#000000 text · best 20.19:1#FDFBEC
Butter#000000 text · best 18.4:1#FFF1A8
#FFF08F#000000 text · best 18.11:1#FFF08F
#D3F698#000000 text · best 17.41:1#D3F698
Pale Goldenrod#000000 text · best 16.76:1#EEE8AA

Generated Palette

#F6E998#F6E998
#98A4F6#98A4F6
#F6BA98#F6BA98
#D3F698#D3F698
#FDFBEC#FDFBEC
#EFD843#EFD843

Color Harmonies

#98A4F6#98A4F6
#F6BA98#F6BA98
#D3F698#D3F698
#98F6E9#98F6E9
#E998F6#E998F6

Variants

#FDFBEC#FDFBEC
#EFD843#EFD843
#FFF08F#FFF08F
#EAE0A4#EAE0A4
White#FFFFFF
#FFF5B8#FFF5B8

Nearest Named Colors