#F5DF7A

Closest named color: Sandy (#F1DA7A). oklch(90.1% 0.124 97.3), rgb(245, 223, 122).

Aa

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

About this color

#F5DF7A is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.124 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.015 away. Black text reads best on it, at 15.71:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text15.71:1
White text1.33:1

Values

HEX#F5DF7A
RGBrgb(245, 223, 122)
HSLhsl(49, 86%, 72%)
OKLCHoklch(90.1% 0.124 97.3)

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 #F5DF7A 1.33:1 Fails Lc -18.9 Dividers and decoration only
Black text on #F5DF7A 15.71:1 AAA Lc 87.2 Fine for body text
#F5DF7A text on white 1.33:1 Fails Lc 16.5 Dividers and decoration only
#F5DF7A text on black 15.71:1 AAA Lc -87.2 Fine for body text

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 200.

  1. Step 50

    50

    #F9F6E6

    oklch(97.1% 0.021 98.1)

  2. Step 100

    100

    #F2EBC8

    oklch(93.7% 0.046 97.9)

  3. Step 200

    200 (this color)

    #F5DF7A

    oklch(90.1% 0.124 97.3)

  4. Step 300

    300

    #DDC023

    oklch(80.9% 0.16 97.5)

  5. Step 400

    400

    #BAA000

    oklch(70.7% 0.146 97.5)

  6. Step 500

    500

    #9F8900

    oklch(63.1% 0.13 97.8)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#F5DF7A 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)#F1DA710.015
Deuteranopia (no green cones)#F7E27E0.008
Tritanopia (no blue cones)#FFD2C70.111
Achromatopsia (no color)#DFDFDF0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #F5DF7A

    #F5DF7A

    oklch(90.1% 0.124 97.3)

  • #D6DCFF

    #D6DCFF

    oklch(90.1% 0.048 277.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5DF7A

    #F5DF7A

    oklch(90.1% 0.124 97.3)

  • #FFD6AC

    #FFD6AC

    oklch(90.1% 0.072 67.4)

  • #C8EE93

    #C8EE93

    oklch(90.1% 0.124 127.2)

Open the analogous palette in the generator

Split complementary

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

  • #F5DF7A

    #F5DF7A

    oklch(90.1% 0.124 97.3)

  • #C4E2FF

    #C4E2FF

    oklch(90% 0.051 247.5)

  • #E9D4FF

    #E9D4FF

    oklch(90% 0.062 307.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5DF7A

    #F5DF7A

    oklch(90.1% 0.124 97.3)

  • #A5EBFF

    #A5EBFF

    oklch(90% 0.075 217.5)

  • #FFCDF0

    #FFCDF0

    oklch(90.2% 0.072 337.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5DF7A

    #F5DF7A

    oklch(90.1% 0.124 97.3)

  • #6BF9ED

    #6BF9ED

    oklch(90.1% 0.124 187.6)

  • #D6DCFF

    #D6DCFF

    oklch(90.1% 0.048 277.7)

  • #FFD0D8

    #FFD0D8

    oklch(90% 0.054 6.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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