#F2EC9D

Closest named color: Light Khaki (#E6F2A2). oklch(93% 0.1 104.4), rgb(242, 236, 157).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameLight Khaki (#E6F2A2)
Black text17.26:1
White text1.21:1

Values

HEX#F2EC9D
RGBrgb(242, 236, 157)
HSLhsl(56, 77%, 78%)
OKLCHoklch(93% 0.1 104.4)

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 #F2EC9D 1.21:1 Fails Lc -12.4 Not readable
Black text on #F2EC9D 17.26:1 AAA Lc 92.9 Preferred for body text
#F2EC9D text on white 1.21:1 Fails Lc 10.6 Not readable
#F2EC9D text on black 17.26:1 AAA Lc -93.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

    #F7F6E9

    oklch(97% 0.017 103.1)

  2. Step 100

    100 (this color)

    #F2EC9D

    oklch(93% 0.1 104.4)

  3. Step 200

    200

    #E0DCA6

    oklch(88.5% 0.071 104.2)

  4. Step 300

    300

    #CEC55B

    oklch(81% 0.128 104.4)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978D00

    oklch(63.2% 0.134 104.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  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

    #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

#F2EC9D 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)#F9E6970.016
Deuteranopia (no green cones)#FCEBA00.015
Tritanopia (no blue cones)#FEE2D80.090
Achromatopsia (no color)#E9E9E90.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2EC9D

    #F2EC9D

    oklch(93% 0.1 104.4)

  • #E5E5FF

    #E5E5FF

    oklch(93% 0.035 285.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2EC9D

    #F2EC9D

    oklch(93% 0.1 104.4)

  • #FFE3BF

    #FFE3BF

    oklch(93% 0.056 74)

  • #CCF7B4

    #CCF7B4

    oklch(92.9% 0.099 134.6)

Open the analogous palette in the generator

Split complementary

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

  • #F2EC9D

    #F2EC9D

    oklch(93% 0.1 104.4)

  • #D9EAFF

    #D9EAFF

    oklch(93.1% 0.034 253.7)

  • #F4DFFF

    #F4DFFF

    oklch(93% 0.048 314.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2EC9D

    #F2EC9D

    oklch(93% 0.1 104.4)

  • #C8EFFF

    #C8EFFF

    oklch(92.9% 0.046 224.6)

  • #FFDDEF

    #FFDDEF

    oklch(93.1% 0.044 344.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2EC9D

    #F2EC9D

    oklch(93% 0.1 104.4)

  • #92FDFC

    #92FDFC

    oklch(93% 0.099 194.8)

  • #E5E5FF

    #E5E5FF

    oklch(93% 0.035 285.7)

  • #FFDFE0

    #FFDFE0

    oklch(93% 0.035 15.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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