#F9DC7A

Closest named color: Sandy (#F1DA7A). oklch(89.9% 0.122 93.3), rgb(249, 220, 122).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (90%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text15.54:1
White text1.35:1

Values

HEX#F9DC7A
RGBrgb(249, 220, 122)
HSLhsl(46, 91%, 73%)
OKLCHoklch(89.9% 0.122 93.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 #F9DC7A 1.35:1 Fails Lc -19.6 Dividers and decoration only
Black text on #F9DC7A 15.54:1 AAA Lc 86.5 Fine for body text
#F9DC7A text on white 1.35:1 Fails Lc 17.1 Dividers and decoration only
#F9DC7A text on black 15.54:1 AAA Lc -86.5 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

    #FAF5E6

    oklch(97% 0.02 91.6)

  2. Step 100

    100

    #F4EAC8

    oklch(93.6% 0.046 93.5)

  3. Step 200

    200 (this color)

    #F9DC7A

    oklch(89.9% 0.122 93.3)

  4. Step 300

    300

    #E3BD26

    oklch(80.9% 0.157 93.3)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F9DC7A 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)#EED9710.020
Deuteranopia (no green cones)#F6E17E0.012
Tritanopia (no blue cones)#FFCFC50.108
Achromatopsia (no color)#DEDEDE0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #F9DC7A

    #F9DC7A

    oklch(89.9% 0.122 93.3)

  • #D3DCFF

    #D3DCFF

    oklch(89.9% 0.049 274)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F9DC7A

    #F9DC7A

    oklch(89.9% 0.122 93.3)

  • #FFD5AF

    #FFD5AF

    oklch(90% 0.069 63.9)

  • #CEEB8F

    #CEEB8F

    oklch(89.8% 0.121 123.1)

Open the analogous palette in the generator

Split complementary

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

  • #F9DC7A

    #F9DC7A

    oklch(89.9% 0.122 93.3)

  • #C0E2FF

    #C0E2FF

    oklch(89.8% 0.054 244.2)

  • #E5D5FF

    #E5D5FF

    oklch(89.9% 0.059 302.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F9DC7A

    #F9DC7A

    oklch(89.9% 0.122 93.3)

  • #9AEDFF

    #9AEDFF

    oklch(89.9% 0.084 212.9)

  • #FFCAF4

    #FFCAF4

    oklch(89.8% 0.081 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F9DC7A

    #F9DC7A

    oklch(89.9% 0.122 93.3)

  • #70F8E6

    #70F8E6

    oklch(89.9% 0.122 183.6)

  • #D3DCFF

    #D3DCFF

    oklch(89.9% 0.049 274)

  • #FFCFDA

    #FFCFDA

    oklch(89.9% 0.056 2.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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