#F0C562

Closest named color: Saffron (#E9C46A). oklch(84.2% 0.127 85.9), rgb(240, 197, 98).

Aa

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

About this color

#F0C562 is a light, moderately saturated orange. In OKLCH its lightness is 84%, its chroma 0.127 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.013 away. Black text reads best on it, at 12.86:1.

Hue familyOranges
Lightnesslight (84%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameSaffron (#E9C46A)
Black text12.86:1
White text1.63:1

Values

HEX#F0C562
RGBrgb(240, 197, 98)
HSLhsl(42, 83%, 66%)
OKLCHoklch(84.2% 0.127 85.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 #F0C562 1.63:1 Fails Lc -31.6 Non-text elements, placeholder text
Black text on #F0C562 12.86:1 AAA Lc 75.8 Fine for body text
#F0C562 text on white 1.63:1 Fails Lc 28.0 Dividers and decoration only
#F0C562 text on black 12.86:1 AAA Lc -74.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

    #FBF5E9

    oklch(97.2% 0.017 84.6)

  2. Step 100

    100

    #F5E9CF

    oklch(93.7% 0.037 86.2)

  3. Step 200

    200

    #EED7A4

    oklch(88.6% 0.071 86.5)

  4. Step 300

    300 (this color)

    #F0C562

    oklch(84.2% 0.127 85.9)

  5. Step 400

    400

    #C89800

    oklch(70.6% 0.144 85.9)

  6. Step 500

    500

    #AC8200

    oklch(63% 0.129 85.7)

  7. Step 600

    600

    #916D00

    oklch(55.6% 0.114 85.6)

  8. Step 700

    700

    #7A5C00

    oklch(49.2% 0.101 86.4)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #543E00

    oklch(37.8% 0.077 85.9)

  11. Step 950

    950

    #322400

    oklch(27% 0.055 86.6)

Export this scale for Tailwind in the Tailwind colors tool

#F0C562 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)#D9C4580.037
Deuteranopia (no green cones)#E4CF660.029
Tritanopia (no blue cones)#FFB6AF0.113
Achromatopsia (no color)#CACACA0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0C562

    #F0C562

    oklch(84.2% 0.127 85.9)

  • #B3CBFF

    #B3CBFF

    oklch(84.2% 0.078 265.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0C562

    #F0C562

    oklch(84.2% 0.127 85.9)

  • #FFBA89

    #FFBA89

    oklch(84.2% 0.102 56.2)

  • #C7D571

    #C7D571

    oklch(84.1% 0.126 115.7)

Open the analogous palette in the generator

Split complementary

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

  • #F0C562

    #F0C562

    oklch(84.2% 0.127 85.9)

  • #90D5FF

    #90D5FF

    oklch(84.2% 0.091 236.1)

  • #D0C0FF

    #D0C0FF

    oklch(84.2% 0.088 296.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0C562

    #F0C562

    oklch(84.2% 0.127 85.9)

  • #49E2F4

    #49E2F4

    oklch(84.1% 0.127 206.5)

  • #F6AEF8

    #F6AEF8

    oklch(84.2% 0.127 325.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0C562

    #F0C562

    oklch(84.2% 0.127 85.9)

  • #5DE6C8

    #5DE6C8

    oklch(84.2% 0.127 176.1)

  • #B3CBFF

    #B3CBFF

    oklch(84.2% 0.078 265.4)

  • #FFB1CD

    #FFB1CD

    oklch(84.2% 0.097 356.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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