#F8AC28

Closest named color: Squash (#F2AB15). oklch(79.8% 0.159 74.8), rgb(248, 172, 40).

Aa

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

About this color

#F8AC28 is a light, vivid orange. In OKLCH its lightness is 80%, its chroma 0.159 and its hue 75°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.013 away. Black text reads best on it, at 10.92:1.

Hue familyOranges
Lightnesslight (80%)
Chromavivid (0.159)
Temperaturewarm
Nearest nameSquash (#F2AB15)
Black text10.92:1
White text1.92:1

Values

HEX#F8AC28
RGBrgb(248, 172, 40)
HSLhsl(38, 94%, 56%)
OKLCHoklch(79.8% 0.159 74.8)

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 #F8AC28 1.92:1 Fails Lc -40.8 Non-text elements, placeholder text
Black text on #F8AC28 10.92:1 AAA Lc 67.4 Content text, not long reading
#F8AC28 text on white 1.92:1 Fails Lc 36.5 Non-text elements, placeholder text
#F8AC28 text on black 10.92:1 AAA Lc -66.0 Content text, not long reading

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 300.

  1. Step 50

    50

    #FEF4E6

    oklch(97.1% 0.021 76.5)

  2. Step 100

    100

    #FDE6C9

    oklch(93.6% 0.046 73.6)

  3. Step 200

    200

    #FCD197

    oklch(88.4% 0.088 74.6)

  4. Step 300

    300 (this color)

    #F8AC28

    oklch(79.8% 0.159 74.8)

  5. Step 400

    400

    #D69000

    oklch(70.6% 0.149 74.5)

  6. Step 500

    500

    #B87B00

    oklch(63% 0.133 74.4)

  7. Step 600

    600

    #9B6700

    oklch(55.5% 0.117 74.4)

  8. Step 700

    700

    #835600

    oklch(49.1% 0.104 74.1)

  9. Step 800

    800

    #6B4600

    oklch(42.6% 0.09 74.7)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #362200

    oklch(27% 0.057 76.3)

Export this scale for Tailwind in the Tailwind colors tool

#F8AC28 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)#C7B0000.082
Deuteranopia (no green cones)#D9C22E0.069
Tritanopia (no blue cones)#FF98940.129
Achromatopsia (no color)#BBBBBB0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #F8AC28

    #F8AC28

    oklch(79.8% 0.159 74.8)

  • #8FC0FF

    #8FC0FF

    oklch(79.7% 0.104 255)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F8AC28

    #F8AC28

    oklch(79.8% 0.159 74.8)

  • #FFA379

    #FFA379

    oklch(79.9% 0.123 45.1)

  • #CDC22A

    #CDC22A

    oklch(79.9% 0.159 105)

Open the analogous palette in the generator

Split complementary

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

  • #F8AC28

    #F8AC28

    oklch(79.8% 0.159 74.8)

  • #3ACFFF

    #3ACFFF

    oklch(79.8% 0.137 224.8)

  • #B6B4FF

    #B6B4FF

    oklch(79.9% 0.106 285)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F8AC28

    #F8AC28

    oklch(79.8% 0.159 74.8)

  • #00D8D8

    #00D8D8

    oklch(79.9% 0.136 194.8)

  • #E19EFF

    #E19EFF

    oklch(79.8% 0.15 314.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F8AC28

    #F8AC28

    oklch(79.8% 0.159 74.8)

  • #2EDDA3

    #2EDDA3

    oklch(79.9% 0.159 164.7)

  • #8FC0FF

    #8FC0FF

    oklch(79.7% 0.104 255)

  • #FF95D3

    #FF95D3

    oklch(79.9% 0.146 344.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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