#FEC871

Closest named color: Sunglow (#FFD166). oklch(86.3% 0.122 78), rgb(254, 200, 113).

Aa

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

About this color

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

Hue familyOranges
Lightnesslight (86%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameSunglow (#FFD166)
Black text13.71:1
White text1.53:1

Values

HEX#FEC871
RGBrgb(254, 200, 113)
HSLhsl(37, 99%, 72%)
OKLCHoklch(86.3% 0.122 78)

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 #FEC871 1.53:1 Fails Lc -27.7 Dividers and decoration only
Black text on #FEC871 13.71:1 AAA Lc 79.3 Fine for body text
#FEC871 text on white 1.53:1 Fails Lc 24.5 Dividers and decoration only
#FEC871 text on black 13.71:1 AAA Lc -78.7 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

    #FDF4E6

    oklch(97% 0.021 79.1)

  2. Step 100

    100

    #FBE7C9

    oklch(93.6% 0.045 78.1)

  3. Step 200

    200 (this color)

    #FEC871

    oklch(86.3% 0.122 78)

  4. Step 300

    300

    #F7B22F

    oklch(80.9% 0.156 78)

  5. Step 400

    400

    #D29300

    oklch(70.7% 0.147 78.1)

  6. Step 500

    500

    #B47E00

    oklch(63.1% 0.131 78.5)

  7. Step 600

    600

    #986900

    oklch(55.6% 0.116 77.9)

  8. Step 700

    700

    #805800

    oklch(49.1% 0.102 78.1)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900

    #583B00

    oklch(37.6% 0.078 77.7)

  11. Step 950

    950

    #352200

    oklch(26.9% 0.056 77.8)

Export this scale for Tailwind in the Tailwind colors tool

#FEC871 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)#DDC9690.051
Deuteranopia (no green cones)#EAD6740.043
Tritanopia (no blue cones)#FFB9B40.100
Achromatopsia (no color)#D1D1D10.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #FEC871

    #FEC871

    oklch(86.3% 0.122 78)

  • #B7D4FF

    #B7D4FF

    oklch(86.3% 0.068 258.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FEC871

    #FEC871

    oklch(86.3% 0.122 78)

  • #FFC3A4

    #FFC3A4

    oklch(86.4% 0.081 48.6)

  • #DAD876

    #DAD876

    oklch(86.3% 0.121 107.6)

Open the analogous palette in the generator

Split complementary

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

  • #FEC871

    #FEC871

    oklch(86.3% 0.122 78)

  • #94DEFF

    #94DEFF

    oklch(86.4% 0.086 227.9)

  • #CFCBFF

    #CFCBFF

    oklch(86.3% 0.072 288.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FEC871

    #FEC871

    oklch(86.3% 0.122 78)

  • #5BEAEF

    #5BEAEF

    oklch(86.3% 0.121 198.4)

  • #EFBDFF

    #EFBDFF

    oklch(86.4% 0.104 317.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FEC871

    #FEC871

    oklch(86.3% 0.122 78)

  • #78ECC3

    #78ECC3

    oklch(86.4% 0.122 168.1)

  • #B7D4FF

    #B7D4FF

    oklch(86.3% 0.068 258.1)

  • #FFBBDC

    #FFBBDC

    oklch(86.4% 0.088 348.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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