#F2E99A

Closest named color: Khaki (#F0E68C). oklch(92.3% 0.1 102.6), rgb(242, 233, 154).

Aa

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

About this color

#F2E99A is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.100 and its hue 103°. 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.89:1.

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

Values

HEX#F2E99A
RGBrgb(242, 233, 154)
HSLhsl(54, 77%, 78%)
OKLCHoklch(92.3% 0.1 102.6)

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 #F2E99A 1.24:1 Fails Lc -13.9 Not readable
Black text on #F2E99A 16.89:1 AAA Lc 91.6 Preferred for body text
#F2E99A text on white 1.24:1 Fails Lc 12.0 Not readable
#F2E99A text on black 16.89:1 AAA Lc -92.0 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)

    #F2E99A

    oklch(92.3% 0.1 102.6)

  3. Step 200

    200

    #E2DCA5

    oklch(88.6% 0.072 102.5)

  4. Step 300

    300

    #D0C459

    oklch(80.9% 0.129 102.9)

  5. Step 400

    400

    #B3A300

    oklch(70.7% 0.148 102.4)

  6. Step 500

    500

    #998C00

    oklch(63.2% 0.133 102.9)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#F2E99A 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)#F7E4940.013
Deuteranopia (no green cones)#FAE99D0.012
Tritanopia (no blue cones)#FEDFD50.090
Achromatopsia (no color)#E6E6E60.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2E99A

    #F2E99A

    oklch(92.3% 0.1 102.6)

  • #E1E3FF

    #E1E3FF

    oklch(92.3% 0.038 282.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2E99A

    #F2E99A

    oklch(92.3% 0.1 102.6)

  • #FFE0BB

    #FFE0BB

    oklch(92.3% 0.059 71.9)

  • #CDF5B0

    #CDF5B0

    oklch(92.5% 0.1 132.6)

Open the analogous palette in the generator

Split complementary

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

  • #F2E99A

    #F2E99A

    oklch(92.3% 0.1 102.6)

  • #D4E8FF

    #D4E8FF

    oklch(92.3% 0.038 251.9)

  • #F2DCFF

    #F2DCFF

    oklch(92.3% 0.052 313.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2E99A

    #F2E99A

    oklch(92.3% 0.1 102.6)

  • #C1EEFF

    #C1EEFF

    oklch(92.3% 0.052 222.9)

  • #FFD9EF

    #FFD9EF

    oklch(92.3% 0.051 342.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2E99A

    #F2E99A

    oklch(92.3% 0.1 102.6)

  • #90FBF7

    #90FBF7

    oklch(92.3% 0.1 192.4)

  • #E1E3FF

    #E1E3FF

    oklch(92.3% 0.038 282.4)

  • #FFDCDE

    #FFDCDE

    oklch(92.4% 0.039 14)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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