#F2E7C3

Closest named color: Champagne (#F7E7CE). oklch(92.8% 0.049 93), rgb(242, 231, 195).

Aa

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

About this color

#F2E7C3 is a very light, muted yellow. In OKLCH its lightness is 93%, its chroma 0.049 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Champagne (#F7E7CE), ΔE 0.017 away. Black text reads best on it, at 16.99:1.

Hue familyYellows
Lightnessvery light (93%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameChampagne (#F7E7CE)
Black text16.99:1
White text1.23:1

Values

HEX#F2E7C3
RGBrgb(242, 231, 195)
HSLhsl(46, 64%, 86%)
OKLCHoklch(92.8% 0.049 93)

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 #F2E7C3 1.23:1 Fails Lc -13.5 Not readable
Black text on #F2E7C3 16.99:1 AAA Lc 91.9 Preferred for body text
#F2E7C3 text on white 1.23:1 Fails Lc 11.7 Not readable
#F2E7C3 text on black 16.99:1 AAA Lc -92.4 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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100 (this color)

    #F2E7C3

    oklch(92.8% 0.049 93)

  3. Step 200

    200

    #E1D9C0

    oklch(88.5% 0.035 92.3)

  4. Step 300

    300

    #CEC093

    oklch(80.8% 0.062 92.8)

  5. Step 400

    400

    #B69F53

    oklch(70.7% 0.1 92.9)

  6. Step 500

    500

    #A48606

    oklch(63% 0.128 92.8)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #2F2502

    oklch(26.8% 0.053 92.7)

Export this scale for Tailwind in the Tailwind colors tool

#F2E7C3 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)#EFE5C10.007
Deuteranopia (no green cones)#F2E9C40.005
Tritanopia (no blue cones)#FAE1DD0.045
Achromatopsia (no color)#E7E7E70.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2E7C3

    #F2E7C3

    oklch(92.8% 0.049 93)

  • #DFE6FF

    #DFE6FF

    oklch(92.7% 0.035 273.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2E7C3

    #F2E7C3

    oklch(92.8% 0.049 93)

  • #FFE1C7

    #FFE1C7

    oklch(92.8% 0.048 63.1)

  • #E1EDCA

    #E1EDCA

    oklch(92.8% 0.048 122.7)

Open the analogous palette in the generator

Split complementary

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

  • #F2E7C3

    #F2E7C3

    oklch(92.8% 0.049 93)

  • #D2EBFF

    #D2EBFF

    oklch(92.8% 0.038 242.1)

  • #ECE1FF

    #ECE1FF

    oklch(92.8% 0.042 302.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2E7C3

    #F2E7C3

    oklch(92.8% 0.049 93)

  • #C3F0FB

    #C3F0FB

    oklch(92.7% 0.049 214.2)

  • #FCDCF5

    #FCDCF5

    oklch(92.8% 0.048 333.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2E7C3

    #F2E7C3

    oklch(92.8% 0.049 93)

  • #C4F2EA

    #C4F2EA

    oklch(92.7% 0.048 183.5)

  • #DFE6FF

    #DFE6FF

    oklch(92.7% 0.035 273.3)

  • #FFDDE4

    #FFDDE4

    oklch(92.8% 0.039 3.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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