#FAF7DC

Closest named color: Cornsilk (#FFF8DC). oklch(97.1% 0.035 101.8), rgb(250, 247, 220).

Aa

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

About this color

#FAF7DC is a very light, muted yellow. In OKLCH its lightness is 97%, its chroma 0.035 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Cornsilk (#FFF8DC), ΔE 0.007 away. Black text reads best on it, at 19.40:1.

Hue familyYellows
Lightnessvery light (97%)
Chromamuted (0.035)
Temperaturewarm
Nearest nameCornsilk (#FFF8DC)
Black text19.40:1
White text1.08:1

Values

HEX#FAF7DC
RGBrgb(250, 247, 220)
HSLhsl(54, 75%, 92%)
OKLCHoklch(97.1% 0.035 101.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 #FAF7DC 1.08:1 Fails Lc 0.0 Not readable
Black text on #FAF7DC 19.40:1 AAA Lc 100.6 Preferred for body text
#FAF7DC text on white 1.08:1 Fails Lc 0.0 Not readable
#FAF7DC text on black 19.40:1 AAA Lc -101.8 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)

    #FAF7DC

    oklch(97.1% 0.035 101.8)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC7

    oklch(88.5% 0.026 102)

  4. Step 300

    300

    #C6C2A1

    oklch(80.9% 0.045 101.6)

  5. Step 400

    400

    #A9A36D

    oklch(70.7% 0.073 102.7)

  6. Step 500

    500

    #958B44

    oklch(63% 0.093 101.4)

  7. Step 600

    600

    #7F7523

    oklch(55.6% 0.101 102.2)

  8. Step 700

    700

    #6C6215

    oklch(49.1% 0.094 101.6)

  9. Step 800

    800

    #585015

    oklch(42.7% 0.078 101.4)

  10. Step 900

    900

    #484319

    oklch(37.8% 0.061 102.6)

  11. Step 950

    950

    #2A2710

    oklch(27% 0.038 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#FAF7DC 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)#FDF5DA0.006
Deuteranopia (no green cones)#FEF7DD0.006
Tritanopia (no blue cones)#FFF3EF0.032
Achromatopsia (no color)#F6F6F60.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #FAF7DC

    #FAF7DC

    oklch(97.1% 0.035 101.8)

  • #F4F5FF

    #F4F5FF

    oklch(97.2% 0.013 281.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FAF7DC

    #FAF7DC

    oklch(97.1% 0.035 101.8)

  • #FFF4E6

    #FFF4E6

    oklch(97.2% 0.022 74.1)

  • #EDFBE3

    #EDFBE3

    oklch(97.1% 0.035 132)

Open the analogous palette in the generator

Split complementary

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

  • #FAF7DC

    #FAF7DC

    oklch(97.1% 0.035 101.8)

  • #EFF6FF

    #EFF6FF

    oklch(97% 0.014 254.6)

  • #FAF2FF

    #FAF2FF

    oklch(97.1% 0.019 312.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FAF7DC

    #FAF7DC

    oklch(97.1% 0.035 101.8)

  • #E8F9FF

    #E8F9FF

    oklch(97.1% 0.02 220.9)

  • #FFF1F9

    #FFF1F9

    oklch(97.1% 0.018 342)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FAF7DC

    #FAF7DC

    oklch(97.1% 0.035 101.8)

  • #DCFEFC

    #DCFEFC

    oklch(97.2% 0.035 192.2)

  • #F4F5FF

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  • #FFF2F3

    #FFF2F3

    oklch(97.2% 0.014 12)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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