#F2EB8E

Closest named color: Khaki (#F0E68C). oklch(92.6% 0.115 104.7), rgb(242, 235, 142).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (93%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text17.04:1
White text1.23:1

Values

HEX#F2EB8E
RGBrgb(242, 235, 142)
HSLhsl(56, 79%, 75%)
OKLCHoklch(92.6% 0.115 104.7)

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 #F2EB8E 1.23:1 Fails Lc -13.2 Not readable
Black text on #F2EB8E 17.04:1 AAA Lc 92.2 Preferred for body text
#F2EB8E text on white 1.23:1 Fails Lc 11.4 Not readable
#F2EB8E text on black 17.04:1 AAA Lc -92.6 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

    #F7F6E7

    oklch(97% 0.02 103.7)

  2. Step 100

    100 (this color)

    #F2EB8E

    oklch(92.6% 0.115 104.7)

  3. Step 200

    200

    #E1DD9D

    oklch(88.6% 0.083 104.9)

  4. Step 300

    300

    #D0C542

    oklch(80.9% 0.148 104.5)

  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

    #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

#F2EB8E 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)#FAE5870.017
Deuteranopia (no green cones)#FDEA920.017
Tritanopia (no blue cones)#FFE0D40.103
Achromatopsia (no color)#E7E7E70.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2EB8E

    #F2EB8E

    oklch(92.6% 0.115 104.7)

  • #E3E4FF

    #E3E4FF

    oklch(92.6% 0.037 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2EB8E

    #F2EB8E

    oklch(92.6% 0.115 104.7)

  • #FFE1BA

    #FFE1BA

    oklch(92.5% 0.061 74.2)

  • #C6F8AA

    #C6F8AA

    oklch(92.6% 0.114 134.7)

Open the analogous palette in the generator

Split complementary

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

  • #F2EB8E

    #F2EB8E

    oklch(92.6% 0.115 104.7)

  • #D7E8FF

    #D7E8FF

    oklch(92.5% 0.036 256)

  • #F4DDFF

    #F4DDFF

    oklch(92.6% 0.052 314.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2EB8E

    #F2EB8E

    oklch(92.6% 0.115 104.7)

  • #C5EEFF

    #C5EEFF

    oklch(92.5% 0.048 224.9)

  • #FFDAEE

    #FFDAEE

    oklch(92.5% 0.048 344.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2EB8E

    #F2EB8E

    oklch(92.6% 0.115 104.7)

  • #7DFFFE

    #7DFFFE

    oklch(92.6% 0.115 194.7)

  • #E3E4FF

    #E3E4FF

    oklch(92.6% 0.037 284)

  • #FFDDDE

    #FFDDDE

    oklch(92.6% 0.038 15.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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