#F9ECBF

Closest named color: Moccasin (#FFE4B5). oklch(94.2% 0.06 93.8), rgb(249, 236, 191).

Aa

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

About this color

#F9ECBF is a very light, muted yellow. In OKLCH its lightness is 94%, its chroma 0.060 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Moccasin (#FFE4B5), ΔE 0.020 away. Black text reads best on it, at 17.77:1.

Hue familyYellows
Lightnessvery light (94%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameMoccasin (#FFE4B5)
Black text17.77:1
White text1.18:1

Values

HEX#F9ECBF
RGBrgb(249, 236, 191)
HSLhsl(47, 83%, 86%)
OKLCHoklch(94.2% 0.06 93.8)

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 #F9ECBF 1.18:1 Fails Lc -10.2 Not readable
Black text on #F9ECBF 17.77:1 AAA Lc 94.8 Preferred for body text
#F9ECBF text on white 1.18:1 Fails Lc 8.7 Not readable
#F9ECBF text on black 17.77:1 AAA Lc -95.5 Preferred 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 100.

  1. Step 50

    50

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100 (this color)

    #F9ECBF

    oklch(94.2% 0.06 93.8)

  3. Step 200

    200

    #E2D9BA

    oklch(88.4% 0.042 93.7)

  4. Step 300

    300

    #D1C087

    oklch(80.9% 0.077 93.5)

  5. Step 400

    400

    #BA9F38

    oklch(70.8% 0.123 94.1)

  6. Step 500

    500

    #A38700

    oklch(63.1% 0.129 94.2)

  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

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#F9ECBF 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)#F6EABC0.007
Deuteranopia (no green cones)#F9EEC00.005
Tritanopia (no blue cones)#FFE5E00.054
Achromatopsia (no color)#ECECEC0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #F9ECBF

    #F9ECBF

    oklch(94.2% 0.06 93.8)

  • #E6EBFF

    #E6EBFF

    oklch(94.2% 0.028 274.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F9ECBF

    #F9ECBF

    oklch(94.2% 0.06 93.8)

  • #FFE7D2

    #FFE7D2

    oklch(94.2% 0.038 63.5)

  • #E3F3C8

    #E3F3C8

    oklch(94.1% 0.059 124.1)

Open the analogous palette in the generator

Split complementary

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

  • #F9ECBF

    #F9ECBF

    oklch(94.2% 0.06 93.8)

  • #DCEFFF

    #DCEFFF

    oklch(94.3% 0.03 243.4)

  • #F1E7FF

    #F1E7FF

    oklch(94.3% 0.034 304.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F9ECBF

    #F9ECBF

    oklch(94.2% 0.06 93.8)

  • #CAF5FF

    #CAF5FF

    oklch(94.3% 0.046 213.4)

  • #FFE2F8

    #FFE2F8

    oklch(94.3% 0.043 334.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F9ECBF

    #F9ECBF

    oklch(94.2% 0.06 93.8)

  • #C0FAF0

    #C0FAF0

    oklch(94.3% 0.06 183.3)

  • #E6EBFF

    #E6EBFF

    oklch(94.2% 0.028 274.7)

  • #FFE4E9

    #FFE4E9

    oklch(94.2% 0.03 5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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