#F5E7BF

Closest named color: Moccasin (#FFE4B5). oklch(92.9% 0.054 91), rgb(245, 231, 191).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (93%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameMoccasin (#FFE4B5)
Black text17.06:1
White text1.23:1

Values

HEX#F5E7BF
RGBrgb(245, 231, 191)
HSLhsl(44, 73%, 85%)
OKLCHoklch(92.9% 0.054 91)

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 #F5E7BF 1.23:1 Fails Lc -13.2 Not readable
Black text on #F5E7BF 17.06:1 AAA Lc 92.2 Preferred for body text
#F5E7BF text on white 1.23:1 Fails Lc 11.4 Not readable
#F5E7BF text on black 17.06:1 AAA Lc -92.6 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

    #F8F5EF

    oklch(97.1% 0.009 84.6)

  2. Step 100

    100 (this color)

    #F5E7BF

    oklch(92.9% 0.054 91)

  3. Step 200

    200

    #E3D9BD

    oklch(88.6% 0.039 90.7)

  4. Step 300

    300

    #D1C08D

    oklch(81% 0.07 91.8)

  5. Step 400

    400

    #BB9E46

    oklch(70.8% 0.112 91)

  6. Step 500

    500

    #A78500

    oklch(63.1% 0.129 90.6)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#F5E7BF 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)#F0E5BD0.009
Deuteranopia (no green cones)#F4E9C00.005
Tritanopia (no blue cones)#FEE0DC0.050
Achromatopsia (no color)#E8E8E80.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #F5E7BF

    #F5E7BF

    oklch(92.9% 0.054 91)

  • #DFE7FF

    #DFE7FF

    oklch(92.9% 0.034 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5E7BF

    #F5E7BF

    oklch(92.9% 0.054 91)

  • #FFE1CA

    #FFE1CA

    oklch(92.8% 0.045 59.7)

  • #E2EEC6

    #E2EEC6

    oklch(93% 0.054 121)

Open the analogous palette in the generator

Split complementary

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

  • #F5E7BF

    #F5E7BF

    oklch(92.9% 0.054 91)

  • #D2ECFF

    #D2ECFF

    oklch(93% 0.038 239.6)

  • #ECE2FF

    #ECE2FF

    oklch(92.9% 0.04 301.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5E7BF

    #F5E7BF

    oklch(92.9% 0.054 91)

  • #BEF2FC

    #BEF2FC

    oklch(92.9% 0.055 210.7)

  • #FEDBF9

    #FEDBF9

    oklch(92.9% 0.055 330.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5E7BF

    #F5E7BF

    oklch(92.9% 0.054 91)

  • #C1F4EA

    #C1F4EA

    oklch(92.9% 0.054 181.8)

  • #DFE7FF

    #DFE7FF

    oklch(92.9% 0.034 271)

  • #FFDEE6

    #FFDEE6

    oklch(93% 0.038 1.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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