#F8D96C

Closest named color: Light Mustard (#F7D560). oklch(89% 0.133 93.7), rgb(248, 217, 108).

Aa

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

About this color

#F8D96C is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.133 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Light Mustard (#F7D560), ΔE 0.012 away. Black text reads best on it, at 15.13:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameLight Mustard (#F7D560)
Black text15.13:1
White text1.38:1

Values

HEX#F8D96C
RGBrgb(248, 217, 108)
HSLhsl(47, 91%, 70%)
OKLCHoklch(89% 0.133 93.7)

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 #F8D96C 1.38:1 Fails Lc -21.4 Dividers and decoration only
Black text on #F8D96C 15.13:1 AAA Lc 84.9 Fine for body text
#F8D96C text on white 1.38:1 Fails Lc 18.8 Dividers and decoration only
#F8D96C text on black 15.13:1 AAA Lc -84.8 Fine 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 200.

  1. Step 50

    50

    #FAF6E5

    oklch(97.2% 0.023 96)

  2. Step 100

    100

    #F5EAC5

    oklch(93.6% 0.05 93.4)

  3. Step 200

    200 (this color)

    #F8D96C

    oklch(89% 0.133 93.7)

  4. Step 300

    300

    #E4BD00

    oklch(80.9% 0.166 93.9)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#F8D96C 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)#ECD5610.023
Deuteranopia (no green cones)#F4DF710.015
Tritanopia (no blue cones)#FFCBC00.117
Achromatopsia (no color)#DBDBDB0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8D96C

    #F8D96C

    oklch(89% 0.133 93.7)

  • #CFD9FF

    #CFD9FF

    oklch(89% 0.053 273.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8D96C

    #F8D96C

    oklch(89% 0.133 93.7)

  • #FFD1A7

    #FFD1A7

    oklch(89% 0.076 64)

  • #C9EA84

    #C9EA84

    oklch(89.1% 0.134 123.8)

Open the analogous palette in the generator

Split complementary

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

  • #F8D96C

    #F8D96C

    oklch(89% 0.133 93.7)

  • #BBE0FF

    #BBE0FF

    oklch(89% 0.058 243.7)

  • #E4D1FF

    #E4D1FF

    oklch(89.1% 0.065 303.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8D96C

    #F8D96C

    oklch(89% 0.133 93.7)

  • #91EBFF

    #91EBFF

    oklch(89% 0.09 213.4)

  • #FFC6F3

    #FFC6F3

    oklch(89.1% 0.087 333.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8D96C

    #F8D96C

    oklch(89% 0.133 93.7)

  • #5CF7E4

    #5CF7E4

    oklch(89% 0.133 183.8)

  • #CFD9FF

    #CFD9FF

    oklch(89% 0.053 273.7)

  • #FFCBD6

    #FFCBD6

    oklch(89.1% 0.06 4.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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