#F2F7E2

Closest named color: Beige (#F5F5DC). oklch(96.7% 0.028 117.8), rgb(242, 247, 226).

Aa

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

About this color

#F2F7E2 is a very light close to neutral grey. In OKLCH its lightness is 97%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Beige (#F5F5DC), ΔE 0.008 away. Black text reads best on it, at 19.17:1.

Hue familyNeutrals
Lightnessvery light (97%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameBeige (#F5F5DC)
Black text19.17:1
White text1.09:1

Values

HEX#F2F7E2
RGBrgb(242, 247, 226)
HSLhsl(74, 57%, 93%)
OKLCHoklch(96.7% 0.028 117.8)

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 #F2F7E2 1.09:1 Fails Lc 0.0 Not readable
Black text on #F2F7E2 19.17:1 AAA Lc 99.8 Preferred for body text
#F2F7E2 text on white 1.09:1 Fails Lc 0.0 Not readable
#F2F7E2 text on black 19.17:1 AAA Lc -101.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 50.

  1. Step 50

    50 (this color)

    #F2F7E2

    oklch(96.7% 0.028 117.8)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D8DBCC

    oklch(88.5% 0.02 116)

  4. Step 300

    300

    #BEC4AA

    oklch(80.9% 0.036 117.8)

  5. Step 400

    400

    #9DA67D

    oklch(70.7% 0.058 118)

  6. Step 500

    500

    #85905C

    oklch(63.1% 0.074 118.3)

  7. Step 600

    600

    #6F7A41

    oklch(55.6% 0.081 118.1)

  8. Step 700

    700

    #5D6633

    oklch(49% 0.074 117.5)

  9. Step 800

    800

    #4C542B

    oklch(42.8% 0.062 118.2)

  10. Step 900

    900

    #3F4527

    oklch(37.6% 0.048 118)

  11. Step 950

    950

    #252917

    oklch(27.1% 0.032 118.8)

Export this scale for Tailwind in the Tailwind colors tool

#F2F7E2 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)#FAF4E10.012
Deuteranopia (no green cones)#FAF5E30.012
Tritanopia (no blue cones)#F4F4F10.024
Achromatopsia (no color)#F5F5F50.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2F7E2

    #F2F7E2

    oklch(96.7% 0.028 117.8)

  • #F5F2FF

    #F5F2FF

    oklch(96.7% 0.018 296.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2F7E2

    #F2F7E2

    oklch(96.7% 0.028 117.8)

  • #FCF3DF

    #FCF3DF

    oklch(96.6% 0.028 86.6)

  • #E8FAEA

    #E8FAEA

    oklch(96.7% 0.028 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #F2F7E2

    #F2F7E2

    oklch(96.7% 0.028 117.8)

  • #EFF4FF

    #EFF4FF

    oklch(96.7% 0.016 266.3)

  • #FFEEFE

    #FFEEFE

    oklch(96.7% 0.028 327.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2F7E2

    #F2F7E2

    oklch(96.7% 0.028 117.8)

  • #E9F6FF

    #E9F6FF

    oklch(96.6% 0.018 237.8)

  • #FFEFF4

    #FFEFF4

    oklch(96.6% 0.018 356.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2F7E2

    #F2F7E2

    oklch(96.7% 0.028 117.8)

  • #DFFAFE

    #DFFAFE

    oklch(96.7% 0.029 207.4)

  • #F5F2FF

    #F5F2FF

    oklch(96.7% 0.018 296.6)

  • #FFF0EE

    #FFF0EE

    oklch(96.6% 0.016 26.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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