#F5E7BA

Closest named color: Moccasin (#FFE4B5). oklch(92.8% 0.06 92.8), rgb(245, 231, 186).

Aa

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

About this color

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

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

Values

HEX#F5E7BA
RGBrgb(245, 231, 186)
HSLhsl(46, 75%, 85%)
OKLCHoklch(92.8% 0.06 92.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 #F5E7BA 1.23:1 Fails Lc -13.4 Not readable
Black text on #F5E7BA 17.02:1 AAA Lc 92.0 Preferred for body text
#F5E7BA text on white 1.23:1 Fails Lc 11.5 Not readable
#F5E7BA text on black 17.02:1 AAA Lc -92.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)

    #F5E7BA

    oklch(92.8% 0.06 92.8)

  3. Step 200

    200

    #E3D9BA

    oklch(88.5% 0.043 92.2)

  4. Step 300

    300

    #D2C087

    oklch(80.9% 0.077 92.6)

  5. Step 400

    400

    #BB9E36

    oklch(70.7% 0.124 93.1)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  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

#F5E7BA 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)#F1E5B70.008
Deuteranopia (no green cones)#F5E9BB0.005
Tritanopia (no blue cones)#FFE0DB0.055
Achromatopsia (no color)#E7E7E70.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #F5E7BA

    #F5E7BA

    oklch(92.8% 0.06 92.8)

  • #DFE6FF

    #DFE6FF

    oklch(92.7% 0.035 273.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5E7BA

    #F5E7BA

    oklch(92.8% 0.06 92.8)

  • #FFE1C7

    #FFE1C7

    oklch(92.8% 0.048 63.1)

  • #DFEEC2

    #DFEEC2

    oklch(92.7% 0.06 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #F5E7BA

    #F5E7BA

    oklch(92.8% 0.06 92.8)

  • #D2EBFF

    #D2EBFF

    oklch(92.8% 0.038 242.1)

  • #ECE1FF

    #ECE1FF

    oklch(92.8% 0.042 302.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5E7BA

    #F5E7BA

    oklch(92.8% 0.06 92.8)

  • #BAF2FF

    #BAF2FF

    oklch(92.7% 0.059 213.5)

  • #FFDAF8

    #FFDAF8

    oklch(92.8% 0.056 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5E7BA

    #F5E7BA

    oklch(92.8% 0.06 92.8)

  • #BBF5EB

    #BBF5EB

    oklch(92.8% 0.06 183.2)

  • #DFE6FF

    #DFE6FF

    oklch(92.7% 0.035 273.3)

  • #FFDDE5

    #FFDDE5

    oklch(92.8% 0.039 2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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