#F8D778

Closest named color: Sandy (#F1DA7A). oklch(88.8% 0.12 90.7), rgb(248, 215, 120).

Aa

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

About this color

#F8D778 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.120 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 14.98:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.98:1
White text1.40:1

Values

HEX#F8D778
RGBrgb(248, 215, 120)
HSLhsl(45, 90%, 72%)
OKLCHoklch(88.8% 0.12 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 #F8D778 1.40:1 Fails Lc -22.1 Dividers and decoration only
Black text on #F8D778 14.98:1 AAA Lc 84.3 Fine for body text
#F8D778 text on white 1.40:1 Fails Lc 19.4 Dividers and decoration only
#F8D778 text on black 14.98:1 AAA Lc -84.1 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

    #FBF5E6

    oklch(97.1% 0.021 88.7)

  2. Step 100

    100

    #F5E9C9

    oklch(93.5% 0.044 89.9)

  3. Step 200

    200 (this color)

    #F8D778

    oklch(88.8% 0.12 90.7)

  4. Step 300

    300

    #E6BB2B

    oklch(80.8% 0.155 90.6)

  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

    #765D00

    oklch(49% 0.1 90.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

#F8D778 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)#EAD4700.024
Deuteranopia (no green cones)#F2DE7C0.018
Tritanopia (no blue cones)#FFC9C10.107
Achromatopsia (no color)#DADADA0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8D778

    #F8D778

    oklch(88.8% 0.12 90.7)

  • #CCD9FF

    #CCD9FF

    oklch(88.8% 0.054 270.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8D778

    #F8D778

    oklch(88.8% 0.12 90.7)

  • #FFCFA9

    #FFCFA9

    oklch(88.7% 0.074 60)

  • #CEE68A

    #CEE68A

    oklch(88.7% 0.12 120.8)

Open the analogous palette in the generator

Split complementary

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

  • #F8D778

    #F8D778

    oklch(88.8% 0.12 90.7)

  • #B7E0FF

    #B7E0FF

    oklch(88.8% 0.061 241)

  • #E1D1FF

    #E1D1FF

    oklch(88.8% 0.065 301)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8D778

    #F8D778

    oklch(88.8% 0.12 90.7)

  • #85ECFF

    #85ECFF

    oklch(88.7% 0.099 210.8)

  • #FFC3F7

    #FFC3F7

    oklch(88.7% 0.095 330.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8D778

    #F8D778

    oklch(88.8% 0.12 90.7)

  • #71F4DE

    #71F4DE

    oklch(88.7% 0.121 180.8)

  • #CCD9FF

    #CCD9FF

    oklch(88.8% 0.054 270.4)

  • #FFC9D8

    #FFC9D8

    oklch(88.8% 0.064 0.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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