#F2F7EF

Closest named color: White Smoke (#F5F5F5). oklch(97% 0.012 133.4), rgb(242, 247, 239).

Aa

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

About this color

#F2F7EF is a very light close to neutral grey. In OKLCH its lightness is 97%, its chroma 0.012. It has too little chroma to lean warm or cool. The nearest named color is White Smoke (#F5F5F5), ΔE 0.012 away. Black text reads best on it, at 19.32:1.

Hue familyNeutrals
Lightnessvery light (97%)
Chromaclose to neutral grey (0.012)
Temperatureneutral
Nearest nameWhite Smoke (#F5F5F5)
Black text19.32:1
White text1.08:1

Values

HEX#F2F7EF
RGBrgb(242, 247, 239)
HSLhsl(98, 33%, 95%)
OKLCHoklch(97% 0.012 133.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 #F2F7EF 1.08:1 Fails Lc 0.0 Not readable
Black text on #F2F7EF 19.32:1 AAA Lc 100.3 Preferred for body text
#F2F7EF text on white 1.08:1 Fails Lc 0.0 Not readable
#F2F7EF text on black 19.32:1 AAA Lc -101.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 50.

  1. Step 50

    50 (this color)

    #F2F7EF

    oklch(97% 0.012 133.4)

  2. Step 100

    100

    #E9EAE7

    oklch(93.5% 0.004 121.6)

  3. Step 200

    200

    #D7DAD5

    oklch(88.5% 0.007 132.4)

  4. Step 300

    300

    #BDC3B9

    oklch(81% 0.015 132.5)

  5. Step 400

    400

    #9BA495

    oklch(70.7% 0.024 132.6)

  6. Step 500

    500

    #828E7B

    oklch(63.1% 0.031 133.9)

  7. Step 600

    600

    #6C7864

    oklch(55.7% 0.033 132.8)

  8. Step 700

    700

    #5A6553

    oklch(49.2% 0.031 133.2)

  9. Step 800

    800

    #495244

    oklch(42.6% 0.025 134.3)

  10. Step 900

    900

    #3D4439

    oklch(37.7% 0.021 134.1)

  11. Step 950

    950

    #242822

    oklch(27.1% 0.012 135.1)

Export this scale for Tailwind in the Tailwind colors tool

#F2F7EF 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)#F8F6EF0.008
Deuteranopia (no green cones)#F7F5EF0.008
Tritanopia (no blue cones)#F2F6F50.009
Achromatopsia (no color)#F5F5F50.012

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

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