#F2F2BA

Closest named color: Light Tan (#FBEEAC). oklch(94.8% 0.072 107.7), rgb(242, 242, 186).

Aa

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

About this color

#F2F2BA is a very light, moderately saturated yellow. In OKLCH its lightness is 95%, its chroma 0.072 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Light Tan (#FBEEAC), ΔE 0.018 away. Black text reads best on it, at 18.18:1.

Hue familyYellows
Lightnessvery light (95%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameLight Tan (#FBEEAC)
Black text18.18:1
White text1.15:1

Values

HEX#F2F2BA
RGBrgb(242, 242, 186)
HSLhsl(60, 68%, 84%)
OKLCHoklch(94.8% 0.072 107.7)

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 #F2F2BA 1.15:1 Fails Lc -8.6 Not readable
Black text on #F2F2BA 18.18:1 AAA Lc 96.3 Preferred for body text
#F2F2BA text on white 1.15:1 Fails Lc 0.0 Not readable
#F2F2BA text on black 18.18:1 AAA Lc -97.1 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

    #F6F6ED

    oklch(97.1% 0.012 106.6)

  2. Step 100

    100 (this color)

    #F2F2BA

    oklch(94.8% 0.072 107.7)

  3. Step 200

    200

    #DCDCB5

    oklch(88.5% 0.052 107.4)

  4. Step 300

    300

    #C6C57E

    oklch(80.8% 0.092 107.6)

  5. Step 400

    400

    #ABA613

    oklch(70.7% 0.148 107.4)

  6. Step 500

    500

    #928E00

    oklch(63% 0.136 107.7)

  7. Step 600

    600

    #7B7800

    oklch(55.7% 0.12 108)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#F2F2BA 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)#FCEDB60.017
Deuteranopia (no green cones)#FDF0BC0.016
Tritanopia (no blue cones)#FAEBE30.064
Achromatopsia (no color)#EFEFEF0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #F2F2BA

    #F2F2BA

    oklch(94.8% 0.072 107.7)

  • #ECEBFF

    #ECEBFF

    oklch(94.7% 0.027 288.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F2F2BA

    #F2F2BA

    oklch(94.8% 0.072 107.7)

  • #FFEBCC

    #FFEBCC

    oklch(94.8% 0.046 78.8)

  • #D7FACB

    #D7FACB

    oklch(94.8% 0.072 137.7)

Open the analogous palette in the generator

Split complementary

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

  • #F2F2BA

    #F2F2BA

    oklch(94.8% 0.072 107.7)

  • #E3EFFF

    #E3EFFF

    oklch(94.8% 0.025 255.6)

  • #F9E6FF

    #F9E6FF

    oklch(94.7% 0.039 318.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F2F2BA

    #F2F2BA

    oklch(94.8% 0.072 107.7)

  • #D8F3FF

    #D8F3FF

    oklch(94.8% 0.033 226.3)

  • #FFE6F1

    #FFE6F1

    oklch(94.8% 0.031 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F2F2BA

    #F2F2BA

    oklch(94.8% 0.072 107.7)

  • #B4FDFF

    #B4FDFF

    oklch(94.7% 0.072 198.2)

  • #ECEBFF

    #ECEBFF

    oklch(94.7% 0.027 288.2)

  • #FFE7E7

    #FFE7E7

    oklch(94.7% 0.026 17.6)

Open the square palette in the generator

Palettes and gradients that use #F2F2BA

These curated palettes and gradients contain exactly #F2F2BA. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

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