#F2EB8F

Closest named color: Khaki (#F0E68C). oklch(92.6% 0.114 104.6), rgb(242, 235, 143).

Aa

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

About this color

#F2EB8F is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.114 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.05:1.

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

Values

HEX#F2EB8F
RGBrgb(242, 235, 143)
HSLhsl(56, 79%, 75%)
OKLCHoklch(92.6% 0.114 104.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 #F2EB8F 1.23:1 Fails Lc -13.2 Not readable
Black text on #F2EB8F 17.05:1 AAA Lc 92.2 Preferred for body text
#F2EB8F text on white 1.23:1 Fails Lc 11.4 Not readable
#F2EB8F text on black 17.05: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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100 (this color)

    #F2EB8F

    oklch(92.6% 0.114 104.6)

  3. Step 200

    200

    #E1DD9E

    oklch(88.6% 0.081 104.9)

  4. Step 300

    300

    #D0C544

    oklch(80.9% 0.146 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

    #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

#F2EB8F 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)#FAE5880.017
Deuteranopia (no green cones)#FDEA930.017
Tritanopia (no blue cones)#FFE0D50.103
Achromatopsia (no color)#E7E7E70.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2EB8F

    #F2EB8F

    oklch(92.6% 0.114 104.6)

  • #E3E4FF

    #E3E4FF

    oklch(92.6% 0.037 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2EB8F

    #F2EB8F

    oklch(92.6% 0.114 104.6)

  • #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°).

  • #F2EB8F

    #F2EB8F

    oklch(92.6% 0.114 104.6)

  • #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.

  • #F2EB8F

    #F2EB8F

    oklch(92.6% 0.114 104.6)

  • #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.

  • #F2EB8F

    #F2EB8F

    oklch(92.6% 0.114 104.6)

  • #7FFFFD

    #7FFFFD

    oklch(92.7% 0.114 194)

  • #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 #F2EB8F, closest first.

Similar named colors

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

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