#F7AB28

Closest named color: Squash (#F2AB15). oklch(79.5% 0.158 74.6), rgb(247, 171, 40).

Aa

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

About this color

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

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

Values

HEX#F7AB28
RGBrgb(247, 171, 40)
HSLhsl(38, 93%, 56%)
OKLCHoklch(79.5% 0.158 74.6)

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 #F7AB28 1.94:1 Fails Lc -41.3 Non-text elements, placeholder text
Black text on #F7AB28 10.81:1 AAA Lc 66.9 Content text, not long reading
#F7AB28 text on white 1.94:1 Fails Lc 37.0 Non-text elements, placeholder text
#F7AB28 text on black 10.81:1 AAA Lc -65.5 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

    #FCD198

    oklch(88.5% 0.088 74.1)

  4. Step 300

    300 (this color)

    #F7AB28

    oklch(79.5% 0.158 74.6)

  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

    #6C4600

    oklch(42.7% 0.091 73.9)

  10. Step 900

    900

    #5A3A00

    oklch(37.7% 0.08 74.4)

  11. Step 950

    950

    #372200

    oklch(27.2% 0.057 74.9)

Export this scale for Tailwind in the Tailwind colors tool

#F7AB28 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)#C6AF000.082
Deuteranopia (no green cones)#D8C12E0.069
Tritanopia (no blue cones)#FF97930.128
Achromatopsia (no color)#BABABA0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #F7AB28

    #F7AB28

    oklch(79.5% 0.158 74.6)

  • #8DC0FF

    #8DC0FF

    oklch(79.6% 0.105 254.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F7AB28

    #F7AB28

    oklch(79.5% 0.158 74.6)

  • #FFA177

    #FFA177

    oklch(79.5% 0.126 44.6)

  • #CDC129

    #CDC129

    oklch(79.6% 0.159 104.6)

Open the analogous palette in the generator

Split complementary

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

  • #F7AB28

    #F7AB28

    oklch(79.5% 0.158 74.6)

  • #31CEFF

    #31CEFF

    oklch(79.5% 0.14 224.8)

  • #B4B3FF

    #B4B3FF

    oklch(79.6% 0.107 284.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F7AB28

    #F7AB28

    oklch(79.5% 0.158 74.6)

  • #00D7D7

    #00D7D7

    oklch(79.6% 0.136 194.8)

  • #E09DFF

    #E09DFF

    oklch(79.5% 0.151 314.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F7AB28

    #F7AB28

    oklch(79.5% 0.158 74.6)

  • #2FDBA2

    #2FDBA2

    oklch(79.4% 0.157 164.8)

  • #8DC0FF

    #8DC0FF

    oklch(79.6% 0.105 254.2)

  • #FF93D3

    #FF93D3

    oklch(79.6% 0.15 344.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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