#F8D662

Closest named color: Light Mustard (#F7D560). oklch(88.3% 0.139 93), rgb(248, 214, 98).

Aa

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

About this color

#F8D662 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.139 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Light Mustard (#F7D560), ΔE 0.003 away. Black text reads best on it, at 14.78:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameLight Mustard (#F7D560)
Black text14.78:1
White text1.42:1

Values

HEX#F8D662
RGBrgb(248, 214, 98)
HSLhsl(46, 91%, 68%)
OKLCHoklch(88.3% 0.139 93)

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 #F8D662 1.42:1 Fails Lc -22.9 Dividers and decoration only
Black text on #F8D662 14.78:1 AAA Lc 83.6 Fine for body text
#F8D662 text on white 1.42:1 Fails Lc 20.1 Dividers and decoration only
#F8D662 text on black 14.78:1 AAA Lc -83.3 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

    #FBF5E4

    oklch(97% 0.023 90.7)

  2. Step 100

    100

    #F6EAC3

    oklch(93.7% 0.052 92.9)

  3. Step 200

    200 (this color)

    #F8D662

    oklch(88.3% 0.139 93)

  4. Step 300

    300

    #E5BC00

    oklch(80.8% 0.165 93)

  5. Step 400

    400

    #C09D00

    oklch(70.7% 0.145 92.8)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F8D662 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)#EAD3560.025
Deuteranopia (no green cones)#F3DD670.017
Tritanopia (no blue cones)#FFC7BD0.124
Achromatopsia (no color)#D8D8D80.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8D662

    #F8D662

    oklch(88.3% 0.139 93)

  • #CCD7FF

    #CCD7FF

    oklch(88.4% 0.057 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8D662

    #F8D662

    oklch(88.3% 0.139 93)

  • #FFCEA2

    #FFCEA2

    oklch(88.4% 0.08 63.4)

  • #C7E87C

    #C7E87C

    oklch(88.4% 0.14 123.2)

Open the analogous palette in the generator

Split complementary

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

  • #F8D662

    #F8D662

    oklch(88.3% 0.139 93)

  • #B6DEFF

    #B6DEFF

    oklch(88.3% 0.062 243.4)

  • #E1CEFF

    #E1CEFF

    oklch(88.3% 0.069 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8D662

    #F8D662

    oklch(88.3% 0.139 93)

  • #86EAFF

    #86EAFF

    oklch(88.3% 0.098 212.8)

  • #FFC2F4

    #FFC2F4

    oklch(88.4% 0.094 332.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8D662

    #F8D662

    oklch(88.3% 0.139 93)

  • #4EF6E1

    #4EF6E1

    oklch(88.3% 0.139 183)

  • #CCD7FF

    #CCD7FF

    oklch(88.4% 0.057 273.1)

  • #FFC7D4

    #FFC7D4

    oklch(88.3% 0.066 3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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