#F8D178

Closest named color: Sunglow (#FFD166). oklch(87.6% 0.117 86.3), rgb(248, 209, 120).

Aa

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

About this color

#F8D178 is a light, moderately saturated orange. In OKLCH its lightness is 88%, its chroma 0.117 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Sunglow (#FFD166), ΔE 0.019 away. Black text reads best on it, at 14.38:1.

Hue familyOranges
Lightnesslight (88%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameSunglow (#FFD166)
Black text14.38:1
White text1.46:1

Values

HEX#F8D178
RGBrgb(248, 209, 120)
HSLhsl(42, 90%, 72%)
OKLCHoklch(87.6% 0.117 86.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 #F8D178 1.46:1 Fails Lc -24.8 Dividers and decoration only
Black text on #F8D178 14.38:1 AAA Lc 81.9 Fine for body text
#F8D178 text on white 1.46:1 Fails Lc 21.8 Dividers and decoration only
#F8D178 text on black 14.38:1 AAA Lc -81.5 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

    #FBF5E7

    oklch(97.1% 0.02 87.5)

  2. Step 100

    100

    #F7E9CA

    oklch(93.7% 0.043 86.6)

  3. Step 200

    200 (this color)

    #F8D178

    oklch(87.6% 0.117 86.3)

  4. Step 300

    300

    #EBB936

    oklch(81% 0.15 86.5)

  5. Step 400

    400

    #C89900

    oklch(70.8% 0.145 86.5)

  6. Step 500

    500

    #AC8300

    oklch(63.2% 0.129 86.4)

  7. Step 600

    600

    #906D00

    oklch(55.4% 0.113 86.3)

  8. Step 700

    700

    #7A5C00

    oklch(49.2% 0.101 86.4)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #543E00

    oklch(37.8% 0.077 85.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#F8D178 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)#E4D0700.032
Deuteranopia (no green cones)#EDDA7B0.026
Tritanopia (no blue cones)#FFC3BC0.102
Achromatopsia (no color)#D6D6D60.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8D178

    #F8D178

    oklch(87.6% 0.117 86.3)

  • #C4D6FF

    #C4D6FF

    oklch(87.6% 0.06 266.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8D178

    #F8D178

    oklch(87.6% 0.117 86.3)

  • #FFCAA4

    #FFCAA4

    oklch(87.7% 0.079 57.1)

  • #D2E085

    #D2E085

    oklch(87.6% 0.116 116)

Open the analogous palette in the generator

Split complementary

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

  • #F8D178

    #F8D178

    oklch(87.6% 0.117 86.3)

  • #AADEFF

    #AADEFF

    oklch(87.6% 0.071 236.5)

  • #DACEFF

    #DACEFF

    oklch(87.7% 0.068 296.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8D178

    #F8D178

    oklch(87.6% 0.117 86.3)

  • #69ECFC

    #69ECFC

    oklch(87.6% 0.116 206.2)

  • #FFBBFF

    #FFBBFF

    oklch(87.6% 0.117 326.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8D178

    #F8D178

    oklch(87.6% 0.117 86.3)

  • #77EFD4

    #77EFD4

    oklch(87.5% 0.116 176.8)

  • #C4D6FF

    #C4D6FF

    oklch(87.6% 0.06 266.5)

  • #FFC3D7

    #FFC3D7

    oklch(87.6% 0.073 356.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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