#F5AB2A

Closest named color: Squash (#F2AB15). oklch(79.3% 0.156 75.2), rgb(245, 171, 42).

Aa

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

About this color

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

Hue familyOranges
Lightnesslight (79%)
Chromavivid (0.156)
Temperaturewarm
Nearest nameSquash (#F2AB15)
Black text10.74:1
White text1.95:1

Values

HEX#F5AB2A
RGBrgb(245, 171, 42)
HSLhsl(38, 91%, 56%)
OKLCHoklch(79.3% 0.156 75.2)

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 #F5AB2A 1.95:1 Fails Lc -41.7 Non-text elements, placeholder text
Black text on #F5AB2A 10.74:1 AAA Lc 66.6 Content text, not long reading
#F5AB2A text on white 1.95:1 Fails Lc 37.3 Non-text elements, placeholder text
#F5AB2A text on black 10.74:1 AAA Lc -65.1 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

    #FCE6C9

    oklch(93.5% 0.045 74.8)

  3. Step 200

    200

    #FBD298

    oklch(88.6% 0.087 75.8)

  4. Step 300

    300 (this color)

    #F5AB2A

    oklch(79.3% 0.156 75.2)

  5. Step 400

    400

    #D69100

    oklch(70.8% 0.149 75.1)

  6. Step 500

    500

    #B77C00

    oklch(63.1% 0.133 75.6)

  7. Step 600

    600

    #9B6800

    oklch(55.7% 0.117 75.3)

  8. Step 700

    700

    #825700

    oklch(49.1% 0.103 75.7)

  9. Step 800

    800

    #6B4700

    oklch(42.8% 0.09 75.9)

  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

#F5AB2A 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)#C6AF040.079
Deuteranopia (no green cones)#D7C1300.068
Tritanopia (no blue cones)#FF97930.128
Achromatopsia (no color)#B9B9B90.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #F5AB2A

    #F5AB2A

    oklch(79.3% 0.156 75.2)

  • #8DBFFF

    #8DBFFF

    oklch(79.4% 0.106 255)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5AB2A

    #F5AB2A

    oklch(79.3% 0.156 75.2)

  • #FFA074

    #FFA074

    oklch(79.3% 0.128 45.3)

  • #CBC02D

    #CBC02D

    oklch(79.3% 0.156 104.9)

Open the analogous palette in the generator

Split complementary

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

  • #F5AB2A

    #F5AB2A

    oklch(79.3% 0.156 75.2)

  • #31CDFF

    #31CDFF

    oklch(79.2% 0.14 225.4)

  • #B4B2FF

    #B4B2FF

    oklch(79.4% 0.108 284.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5AB2A

    #F5AB2A

    oklch(79.3% 0.156 75.2)

  • #00D6D7

    #00D6D7

    oklch(79.4% 0.135 195.4)

  • #E19BFF

    #E19BFF

    oklch(79.3% 0.155 315.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5AB2A

    #F5AB2A

    oklch(79.3% 0.156 75.2)

  • #2FDAA3

    #2FDAA3

    oklch(79.2% 0.155 165.5)

  • #8DBFFF

    #8DBFFF

    oklch(79.4% 0.106 255)

  • #FF92D1

    #FF92D1

    oklch(79.4% 0.15 345.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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