#F8E398

Closest named color: Light Gold (#F3DE8A). oklch(91.6% 0.097 94.3), rgb(248, 227, 152).

Aa

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

About this color

#F8E398 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.097 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Light Gold (#F3DE8A), ΔE 0.019 away. Black text reads best on it, at 16.43:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameLight Gold (#F3DE8A)
Black text16.43:1
White text1.27:1

Values

HEX#F8E398
RGBrgb(248, 227, 152)
HSLhsl(47, 87%, 78%)
OKLCHoklch(91.6% 0.097 94.3)

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 #F8E398 1.27:1 Fails Lc -15.9 Dividers and decoration only
Black text on #F8E398 16.43:1 AAA Lc 89.9 Fine for body text
#F8E398 text on white 1.27:1 Fails Lc 13.8 Not readable
#F8E398 text on black 16.43:1 AAA Lc -90.1 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

    #F9F6E9

    oklch(97.2% 0.017 96.1)

  2. Step 100

    100 (this color)

    #F8E398

    oklch(91.6% 0.097 94.3)

  3. Step 200

    200

    #E8D9A5

    oklch(88.5% 0.07 93.9)

  4. Step 300

    300

    #DBBF5A

    oklch(80.9% 0.125 94)

  5. Step 400

    400

    #BE9E00

    oklch(70.7% 0.145 94.4)

  6. Step 500

    500

    #A38700

    oklch(63.1% 0.129 94.2)

  7. Step 600

    600

    #897100

    oklch(55.5% 0.114 94.1)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5F4E00

    oklch(42.9% 0.088 94.5)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#F8E398 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)#F2E0930.013
Deuteranopia (no green cones)#F7E69B0.007
Tritanopia (no blue cones)#FFD8D00.086
Achromatopsia (no color)#E3E3E30.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8E398

    #F8E398

    oklch(91.6% 0.097 94.3)

  • #DBE2FF

    #DBE2FF

    oklch(91.6% 0.04 274.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8E398

    #F8E398

    oklch(91.6% 0.097 94.3)

  • #FFDCBC

    #FFDCBC

    oklch(91.6% 0.057 64.5)

  • #D5EFA7

    #D5EFA7

    oklch(91.6% 0.097 124.4)

Open the analogous palette in the generator

Split complementary

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

  • #F8E398

    #F8E398

    oklch(91.6% 0.097 94.3)

  • #CCE7FF

    #CCE7FF

    oklch(91.6% 0.044 245.1)

  • #EADCFF

    #EADCFF

    oklch(91.6% 0.049 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8E398

    #F8E398

    oklch(91.6% 0.097 94.3)

  • #B0F0FF

    #B0F0FF

    oklch(91.7% 0.067 213.8)

  • #FFD4F5

    #FFD4F5

    oklch(91.6% 0.064 334.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8E398

    #F8E398

    oklch(91.6% 0.097 94.3)

  • #95F9EB

    #95F9EB

    oklch(91.7% 0.097 184.3)

  • #DBE2FF

    #DBE2FF

    oklch(91.6% 0.04 274.8)

  • #FFD8E0

    #FFD8E0

    oklch(91.7% 0.045 4.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #F8E398 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.