#F2ED9E

Closest named color: Light Khaki (#E6F2A2). oklch(93.2% 0.099 105.1), rgb(242, 237, 158).

Aa

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

About this color

#F2ED9E is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.099 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.018 away. Black text reads best on it, at 17.38:1.

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameLight Khaki (#E6F2A2)
Black text17.38:1
White text1.20:1

Values

HEX#F2ED9E
RGBrgb(242, 237, 158)
HSLhsl(56, 76%, 78%)
OKLCHoklch(93.2% 0.099 105.1)

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 #F2ED9E 1.20:1 Fails Lc -11.9 Not readable
Black text on #F2ED9E 17.38:1 AAA Lc 93.4 Preferred for body text
#F2ED9E text on white 1.20:1 Fails Lc 10.2 Not readable
#F2ED9E text on black 17.38:1 AAA Lc -94.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)

    #F2ED9E

    oklch(93.2% 0.099 105.1)

  3. Step 200

    200

    #DFDCA6

    oklch(88.4% 0.071 105.1)

  4. Step 300

    300

    #CDC55B

    oklch(80.9% 0.128 104.9)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#F2ED9E 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)#FAE7980.017
Deuteranopia (no green cones)#FCEBA10.016
Tritanopia (no blue cones)#FEE3D90.090
Achromatopsia (no color)#EAEAEA0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2ED9E

    #F2ED9E

    oklch(93.2% 0.099 105.1)

  • #E6E6FF

    #E6E6FF

    oklch(93.2% 0.034 285.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2ED9E

    #F2ED9E

    oklch(93.2% 0.099 105.1)

  • #FFE4C0

    #FFE4C0

    oklch(93.2% 0.056 74.9)

  • #CCF8B5

    #CCF8B5

    oklch(93.2% 0.099 135.1)

Open the analogous palette in the generator

Split complementary

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

  • #F2ED9E

    #F2ED9E

    oklch(93.2% 0.099 105.1)

  • #DAEAFF

    #DAEAFF

    oklch(93.2% 0.033 255.2)

  • #F5E0FF

    #F5E0FF

    oklch(93.3% 0.047 315)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2ED9E

    #F2ED9E

    oklch(93.2% 0.099 105.1)

  • #CBF0FF

    #CBF0FF

    oklch(93.3% 0.043 224.3)

  • #FFDEEF

    #FFDEEF

    oklch(93.3% 0.042 345.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2ED9E

    #F2ED9E

    oklch(93.2% 0.099 105.1)

  • #93FEFD

    #93FEFD

    oklch(93.2% 0.099 194.8)

  • #E6E6FF

    #E6E6FF

    oklch(93.2% 0.034 285.7)

  • #FFE0E1

    #FFE0E1

    oklch(93.2% 0.034 15.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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