#F0AF04

Closest named color: Squash (#F2AB15). oklch(79.4% 0.163 81.5), rgb(240, 175, 4).

Aa

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

About this color

#F0AF04 is a light, vivid orange. In OKLCH its lightness is 79%, its chroma 0.163 and its hue 82°. 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.83:1.

Hue familyOranges
Lightnesslight (79%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameSquash (#F2AB15)
Black text10.83:1
White text1.93:1

Values

HEX#F0AF04
RGBrgb(240, 175, 4)
HSLhsl(43, 97%, 48%)
OKLCHoklch(79.4% 0.163 81.5)

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 #F0AF04 1.93:1 Fails Lc -41.2 Non-text elements, placeholder text
Black text on #F0AF04 10.83:1 AAA Lc 67.1 Content text, not long reading
#F0AF04 text on white 1.93:1 Fails Lc 36.8 Non-text elements, placeholder text
#F0AF04 text on black 10.83:1 AAA Lc -65.6 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

    #FDF4E5

    oklch(97% 0.022 80.7)

  2. Step 100

    100

    #FAE7C7

    oklch(93.5% 0.047 80.8)

  3. Step 200

    200

    #F8D494

    oklch(88.6% 0.091 81.5)

  4. Step 300

    300 (this color)

    #F0AF04

    oklch(79.4% 0.163 81.5)

  5. Step 400

    400

    #CE9500

    oklch(70.6% 0.146 81.2)

  6. Step 500

    500

    #B18000

    oklch(63.2% 0.13 81.5)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7D5A00

    oklch(49.1% 0.101 82.2)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #563C00

    oklch(37.6% 0.078 81.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#F0AF04 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)#C9B1000.062
Deuteranopia (no green cones)#D8C1180.055
Tritanopia (no blue cones)#FF9C950.140
Achromatopsia (no color)#BABABA0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0AF04

    #F0AF04

    oklch(79.4% 0.163 81.5)

  • #97BCFF

    #97BCFF

    oklch(79.4% 0.104 261.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0AF04

    #F0AF04

    oklch(79.4% 0.163 81.5)

  • #FFA268

    #FFA268

    oklch(79.4% 0.133 51.7)

  • #C0C52C

    #C0C52C

    oklch(79.4% 0.163 111.5)

Open the analogous palette in the generator

Split complementary

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

  • #F0AF04

    #F0AF04

    oklch(79.4% 0.163 81.5)

  • #57CAFF

    #57CAFF

    oklch(79.4% 0.127 231.5)

  • #BCAFFF

    #BCAFFF

    oklch(79.4% 0.113 291.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0AF04

    #F0AF04

    oklch(79.4% 0.163 81.5)

  • #00D5E0

    #00D5E0

    oklch(79.4% 0.135 201.4)

  • #EB96FA

    #EB96FA

    oklch(79.3% 0.163 321.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0AF04

    #F0AF04

    oklch(79.4% 0.163 81.5)

  • #00DBAF

    #00DBAF

    oklch(79.4% 0.155 171.3)

  • #97BCFF

    #97BCFF

    oklch(79.4% 0.104 261.9)

  • #FF95C6

    #FF95C6

    oklch(79.5% 0.139 351.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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