#F8D87C

Closest named color: Sandy (#F1DA7A). oklch(89% 0.117 90.7), rgb(248, 216, 124).

Aa

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

About this color

#F8D87C is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.117 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.012 away. Black text reads best on it, at 15.10:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text15.10:1
White text1.39:1

Values

HEX#F8D87C
RGBrgb(248, 216, 124)
HSLhsl(45, 90%, 73%)
OKLCHoklch(89% 0.117 90.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 #F8D87C 1.39:1 Fails Lc -21.6 Dividers and decoration only
Black text on #F8D87C 15.10:1 AAA Lc 84.8 Fine for body text
#F8D87C text on white 1.39:1 Fails Lc 18.9 Dividers and decoration only
#F8D87C text on black 15.10:1 AAA Lc -84.6 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

    #FAF5E7

    oklch(97% 0.019 90.5)

  2. Step 100

    100

    #F5E9CA

    oklch(93.6% 0.043 89.4)

  3. Step 200

    200 (this color)

    #F8D87C

    oklch(89% 0.117 90.7)

  4. Step 300

    300

    #E5BC34

    oklch(80.9% 0.151 91)

  5. Step 400

    400

    #C39C00

    oklch(70.8% 0.145 90.8)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#F8D87C 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)#EAD5740.024
Deuteranopia (no green cones)#F2DF7F0.018
Tritanopia (no blue cones)#FFCBC20.103
Achromatopsia (no color)#DBDBDB0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8D87C

    #F8D87C

    oklch(89% 0.117 90.7)

  • #CDDAFF

    #CDDAFF

    oklch(89% 0.053 270)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8D87C

    #F8D87C

    oklch(89% 0.117 90.7)

  • #FFD0AB

    #FFD0AB

    oklch(88.9% 0.072 59.9)

  • #CFE78D

    #CFE78D

    oklch(89% 0.118 121)

Open the analogous palette in the generator

Split complementary

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

  • #F8D87C

    #F8D87C

    oklch(89% 0.117 90.7)

  • #B8E1FF

    #B8E1FF

    oklch(89% 0.06 240.1)

  • #E1D2FF

    #E1D2FF

    oklch(89% 0.063 300.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8D87C

    #F8D87C

    oklch(89% 0.117 90.7)

  • #89EDFF

    #89EDFF

    oklch(89.1% 0.097 210.4)

  • #FFC5F7

    #FFC5F7

    oklch(89% 0.092 331.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8D87C

    #F8D87C

    oklch(89% 0.117 90.7)

  • #76F4DF

    #76F4DF

    oklch(88.9% 0.117 181.1)

  • #CDDAFF

    #CDDAFF

    oklch(89% 0.053 270)

  • #FFCAD8

    #FFCAD8

    oklch(88.9% 0.063 0.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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