#F9E998

Closest named color: Khaki (#F0E68C). oklch(92.9% 0.102 98.4), rgb(249, 233, 152).

Aa

Black text reads best on this color (17.13:1).

About this color

#F9E998 is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.102 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.020 away. Black text reads best on it, at 17.13:1.

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text17.13:1
White text1.22:1

Values

HEX#F9E998
RGBrgb(249, 233, 152)
HSLhsl(50, 89%, 79%)
OKLCHoklch(92.9% 0.102 98.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #F9E998 1.22:1 Fails Lc -12.9 Not readable
Black text on #F9E998 17.13:1 AAA Lc 92.5 Preferred for body text
#F9E998 text on white 1.22:1 Fails Lc 11.1 Not readable
#F9E998 text on black 17.13:1 AAA Lc -93.0 Preferred for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 100.

  1. Step 50

    50

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100 (this color)

    #F9E998

    oklch(92.9% 0.102 98.4)

  3. Step 200

    200

    #E5DAA3

    oklch(88.4% 0.072 98.1)

  4. Step 300

    300

    #D7C153

    oklch(80.9% 0.131 98)

  5. Step 400

    400

    #B9A000

    oklch(70.6% 0.146 97.9)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4C4100

    oklch(37.5% 0.078 98.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#F9E998 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#F8E5920.011
Deuteranopia (no green cones)#FCEB9B0.007
Tritanopia (no blue cones)#FFDED50.091
Achromatopsia (no color)#E8E8E80.102

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #F9E998

    #F9E998

    oklch(92.9% 0.102 98.4)

  • #E2E6FF

    #E2E6FF

    oklch(92.9% 0.034 278.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F9E998

    #F9E998

    oklch(92.9% 0.102 98.4)

  • #FFE2C4

    #FFE2C4

    oklch(92.9% 0.051 68.1)

  • #D3F5AC

    #D3F5AC

    oklch(92.8% 0.101 128.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #F9E998

    #F9E998

    oklch(92.9% 0.102 98.4)

  • #D6EAFF

    #D6EAFF

    oklch(92.9% 0.036 249.5)

  • #F0E0FF

    #F0E0FF

    oklch(92.9% 0.045 308.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F9E998

    #F9E998

    oklch(92.9% 0.102 98.4)

  • #C2F1FF

    #C2F1FF

    oklch(93% 0.052 217.9)

  • #FFDBF3

    #FFDBF3

    oklch(92.8% 0.05 338.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F9E998

    #F9E998

    oklch(92.9% 0.102 98.4)

  • #91FEF5

    #91FEF5

    oklch(92.9% 0.102 188.7)

  • #E2E6FF

    #E2E6FF

    oklch(92.9% 0.034 278.5)

  • #FFDEE2

    #FFDEE2

    oklch(92.9% 0.037 9.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #F9E998, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #F9E998 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.