#F0B22F

Closest named color: Macaroni And Cheese (#EFB435). oklch(80.1% 0.153 80.9), rgb(240, 178, 47).

Aa

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

About this color

#F0B22F is a light, vivid orange. In OKLCH its lightness is 80%, its chroma 0.153 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.005 away. Black text reads best on it, at 11.11:1.

Hue familyOranges
Lightnesslight (80%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text11.11:1
White text1.88:1

Values

HEX#F0B22F
RGBrgb(240, 178, 47)
HSLhsl(41, 87%, 56%)
OKLCHoklch(80.1% 0.153 80.9)

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 #F0B22F 1.88:1 Fails Lc -39.9 Non-text elements, placeholder text
Black text on #F0B22F 11.11:1 AAA Lc 68.2 Content text, not long reading
#F0B22F text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#F0B22F text on black 11.11:1 AAA Lc -66.9 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

    #FDF4E6

    oklch(97% 0.021 79.1)

  2. Step 100

    100

    #F9E7C9

    oklch(93.5% 0.044 80.6)

  3. Step 200

    200

    #F6D499

    oklch(88.5% 0.084 81)

  4. Step 300

    300 (this color)

    #F0B22F

    oklch(80.1% 0.153 80.9)

  5. Step 400

    400

    #CF9500

    oklch(70.7% 0.146 80.7)

  6. Step 500

    500

    #B17F00

    oklch(63% 0.13 80.8)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #573C00

    oklch(37.7% 0.078 80.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#F0B22F 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)#CBB3100.062
Deuteranopia (no green cones)#D9C3360.052
Tritanopia (no blue cones)#FFA0990.131
Achromatopsia (no color)#BCBCBC0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0B22F

    #F0B22F

    oklch(80.1% 0.153 80.9)

  • #99BFFF

    #99BFFF

    oklch(80.1% 0.1 260.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0B22F

    #F0B22F

    oklch(80.1% 0.153 80.9)

  • #FFA570

    #FFA570

    oklch(80.1% 0.127 50.6)

  • #C3C640

    #C3C640

    oklch(80% 0.152 110.6)

Open the analogous palette in the generator

Split complementary

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

  • #F0B22F

    #F0B22F

    oklch(80.1% 0.153 80.9)

  • #5DCCFF

    #5DCCFF

    oklch(80.1% 0.124 231)

  • #BEB2FF

    #BEB2FF

    oklch(80.2% 0.108 290.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0B22F

    #F0B22F

    oklch(80.1% 0.153 80.9)

  • #00D7E2

    #00D7E2

    oklch(80% 0.136 201.4)

  • #EA9CFA

    #EA9CFA

    oklch(80.2% 0.152 320.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0B22F

    #F0B22F

    oklch(80.1% 0.153 80.9)

  • #1EDDB1

    #1EDDB1

    oklch(80.1% 0.153 171.1)

  • #99BFFF

    #99BFFF

    oklch(80.1% 0.1 260.6)

  • #FF99C9

    #FF99C9

    oklch(80.2% 0.134 350.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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