#F0E897

Closest named color: Khaki (#F0E68C). oklch(91.9% 0.102 103.3), rgb(240, 232, 151).

Aa

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

About this color

#F0E897 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.102 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.012 away. Black text reads best on it, at 16.69:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.69:1
White text1.25:1

Values

HEX#F0E897
RGBrgb(240, 232, 151)
HSLhsl(55, 75%, 77%)
OKLCHoklch(91.9% 0.102 103.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 #F0E897 1.25:1 Fails Lc -14.8 Not readable
Black text on #F0E897 16.69:1 AAA Lc 90.8 Preferred for body text
#F0E897 text on white 1.25:1 Fails Lc 12.8 Not readable
#F0E897 text on black 16.69:1 AAA Lc -91.2 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

    #F7F6E9

    oklch(97% 0.017 103.1)

  2. Step 100

    100 (this color)

    #F0E897

    oklch(91.9% 0.102 103.3)

  3. Step 200

    200

    #E1DCA4

    oklch(88.5% 0.073 103.5)

  4. Step 300

    300

    #D0C457

    oklch(80.9% 0.131 103.1)

  5. Step 400

    400

    #B2A400

    oklch(70.8% 0.149 103.4)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#F0E897 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)#F6E3910.014
Deuteranopia (no green cones)#F9E79A0.014
Tritanopia (no blue cones)#FCDED40.092
Achromatopsia (no color)#E5E5E50.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0E897

    #F0E897

    oklch(91.9% 0.102 103.3)

  • #E0E2FF

    #E0E2FF

    oklch(92% 0.039 282.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0E897

    #F0E897

    oklch(91.9% 0.102 103.3)

  • #FFDFB6

    #FFDFB6

    oklch(92% 0.064 73.7)

  • #C9F4AE

    #C9F4AE

    oklch(92% 0.102 133.8)

Open the analogous palette in the generator

Split complementary

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

  • #F0E897

    #F0E897

    oklch(91.9% 0.102 103.3)

  • #D2E7FF

    #D2E7FF

    oklch(92% 0.04 251.8)

  • #F2DAFF

    #F2DAFF

    oklch(91.9% 0.056 313.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0E897

    #F0E897

    oklch(91.9% 0.102 103.3)

  • #BEEDFF

    #BEEDFF

    oklch(91.9% 0.054 223.2)

  • #FFD7ED

    #FFD7ED

    oklch(91.9% 0.053 344)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0E897

    #F0E897

    oklch(91.9% 0.102 103.3)

  • #8CFAF7

    #8CFAF7

    oklch(91.9% 0.102 193.2)

  • #E0E2FF

    #E0E2FF

    oklch(92% 0.039 282.5)

  • #FFDADC

    #FFDADC

    oklch(92% 0.041 14.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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