#F2EDC0

Closest named color: Moccasin (#FFE4B5). oklch(93.9% 0.059 102.2), rgb(242, 237, 192).

Aa

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

About this color

#F2EDC0 is a very light, muted yellow. In OKLCH its lightness is 94%, its chroma 0.059 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Moccasin (#FFE4B5), ΔE 0.026 away. Black text reads best on it, at 17.65:1.

Hue familyYellows
Lightnessvery light (94%)
Chromamuted (0.059)
Temperaturewarm
Nearest nameMoccasin (#FFE4B5)
Black text17.65:1
White text1.18:1

Values

HEX#F2EDC0
RGBrgb(242, 237, 192)
HSLhsl(54, 66%, 85%)
OKLCHoklch(93.9% 0.059 102.2)

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 #F2EDC0 1.18:1 Fails Lc -10.8 Not readable
Black text on #F2EDC0 17.65:1 AAA Lc 94.3 Preferred for body text
#F2EDC0 text on white 1.18:1 Fails Lc 9.2 Not readable
#F2EDC0 text on black 17.65:1 AAA Lc -95.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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100 (this color)

    #F2EDC0

    oklch(93.9% 0.059 102.2)

  3. Step 200

    200

    #DEDBBB

    oklch(88.5% 0.043 102.8)

  4. Step 300

    300

    #CAC38A

    oklch(80.9% 0.075 102)

  5. Step 400

    400

    #B0A33F

    oklch(70.7% 0.121 101.9)

  6. Step 500

    500

    #9A8B00

    oklch(63% 0.132 101.8)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  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

#F2EDC0 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)#F6EABD0.008
Deuteranopia (no green cones)#F8EDC20.009
Tritanopia (no blue cones)#FAE7E10.053
Achromatopsia (no color)#EBEBEB0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2EDC0

    #F2EDC0

    oklch(93.9% 0.059 102.2)

  • #E7E9FF

    #E7E9FF

    oklch(93.9% 0.03 281.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2EDC0

    #F2EDC0

    oklch(93.9% 0.059 102.2)

  • #FFE6C9

    #FFE6C9

    oklch(93.8% 0.047 71.3)

  • #DCF4CB

    #DCF4CB

    oklch(93.9% 0.06 132.3)

Open the analogous palette in the generator

Split complementary

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

  • #F2EDC0

    #F2EDC0

    oklch(93.9% 0.059 102.2)

  • #DDEDFF

    #DDEDFF

    oklch(94% 0.03 251.3)

  • #F4E4FF

    #F4E4FF

    oklch(94% 0.04 311.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2EDC0

    #F2EDC0

    oklch(93.9% 0.059 102.2)

  • #CEF2FF

    #CEF2FF

    oklch(93.9% 0.041 221.6)

  • #FFE1F2

    #FFE1F2

    oklch(93.9% 0.04 342.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2EDC0

    #F2EDC0

    oklch(93.9% 0.059 102.2)

  • #BEF8F5

    #BEF8F5

    oklch(93.9% 0.059 192.2)

  • #E7E9FF

    #E7E9FF

    oklch(93.9% 0.03 281.7)

  • #FFE3E5

    #FFE3E5

    oklch(93.9% 0.031 12.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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