#F0E99B

Closest named color: Khaki (#F0E68C). oklch(92.2% 0.099 103.8), rgb(240, 233, 155).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.83:1
White text1.24:1

Values

HEX#F0E99B
RGBrgb(240, 233, 155)
HSLhsl(55, 74%, 77%)
OKLCHoklch(92.2% 0.099 103.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 #F0E99B 1.24:1 Fails Lc -14.2 Not readable
Black text on #F0E99B 16.83:1 AAA Lc 91.3 Preferred for body text
#F0E99B text on white 1.24:1 Fails Lc 12.2 Not readable
#F0E99B text on black 16.83:1 AAA Lc -91.7 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)

    #F0E99B

    oklch(92.2% 0.099 103.8)

  3. Step 200

    200

    #E0DCA6

    oklch(88.5% 0.071 104.2)

  4. Step 300

    300

    #CFC45C

    oklch(80.9% 0.126 103.3)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  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

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#F0E99B 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)#F6E4950.014
Deuteranopia (no green cones)#F9E89E0.014
Tritanopia (no blue cones)#FCDFD50.089
Achromatopsia (no color)#E6E6E60.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0E99B

    #F0E99B

    oklch(92.2% 0.099 103.8)

  • #E1E2FF

    #E1E2FF

    oklch(92.1% 0.039 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0E99B

    #F0E99B

    oklch(92.2% 0.099 103.8)

  • #FFE0B8

    #FFE0B8

    oklch(92.3% 0.062 74)

  • #CBF4B1

    #CBF4B1

    oklch(92.2% 0.098 133.6)

Open the analogous palette in the generator

Split complementary

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

  • #F0E99B

    #F0E99B

    oklch(92.2% 0.099 103.8)

  • #D4E7FF

    #D4E7FF

    oklch(92.1% 0.039 254.3)

  • #F2DBFF

    #F2DBFF

    oklch(92.1% 0.054 313.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0E99B

    #F0E99B

    oklch(92.2% 0.099 103.8)

  • #C1EEFF

    #C1EEFF

    oklch(92.3% 0.052 222.9)

  • #FFD8EE

    #FFD8EE

    oklch(92.1% 0.052 343.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0E99B

    #F0E99B

    oklch(92.2% 0.099 103.8)

  • #91FAF8

    #91FAF8

    oklch(92.1% 0.098 194)

  • #E1E2FF

    #E1E2FF

    oklch(92.1% 0.039 284)

  • #FFDBDD

    #FFDBDD

    oklch(92.2% 0.04 14.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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