#FBF7DC

Closest named color: Cornsilk (#FFF8DC). oklch(97.2% 0.036 100.1), rgb(251, 247, 220).

Aa

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

About this color

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

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

Values

HEX#FBF7DC
RGBrgb(251, 247, 220)
HSLhsl(52, 79%, 92%)
OKLCHoklch(97.2% 0.036 100.1)

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 #FBF7DC 1.08:1 Fails Lc 0.0 Not readable
Black text on #FBF7DC 19.43:1 AAA Lc 100.7 Preferred for body text
#FBF7DC text on white 1.08:1 Fails Lc 0.0 Not readable
#FBF7DC text on black 19.43:1 AAA Lc -102.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)

    #FBF7DC

    oklch(97.2% 0.036 100.1)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C7C2A0

    oklch(80.9% 0.046 100.4)

  5. Step 400

    400

    #ABA26C

    oklch(70.7% 0.073 99.9)

  6. Step 500

    500

    #968B44

    oklch(63.1% 0.093 100.6)

  7. Step 600

    600

    #817422

    oklch(55.5% 0.101 100)

  8. Step 700

    700

    #6D6113

    oklch(49% 0.094 100)

  9. Step 800

    800

    #595014

    oklch(42.8% 0.078 100.5)

  10. Step 900

    900

    #494218

    oklch(37.6% 0.061 99.9)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#FBF7DC 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.005
Deuteranopia (no green cones)#FEF7DD0.004
Tritanopia (no blue cones)#FFF3EF0.031
Achromatopsia (no color)#F6F6F60.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #FBF7DC

    #FBF7DC

    oklch(97.2% 0.036 100.1)

  • #F4F5FF

    #F4F5FF

    oklch(97.2% 0.013 281.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FBF7DC

    #FBF7DC

    oklch(97.2% 0.036 100.1)

  • #FFF4E8

    #FFF4E8

    oklch(97.3% 0.02 70)

  • #EEFBE2

    #EEFBE2

    oklch(97.2% 0.036 129.6)

Open the analogous palette in the generator

Split complementary

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

  • #FBF7DC

    #FBF7DC

    oklch(97.2% 0.036 100.1)

  • #EFF7FF

    #EFF7FF

    oklch(97.2% 0.014 248)

  • #F9F3FF

    #F9F3FF

    oklch(97.2% 0.017 308.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FBF7DC

    #FBF7DC

    oklch(97.2% 0.036 100.1)

  • #E8F9FF

    #E8F9FF

    oklch(97.1% 0.02 220.9)

  • #FFF1FA

    #FFF1FA

    oklch(97.2% 0.019 338.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FBF7DC

    #FBF7DC

    oklch(97.2% 0.036 100.1)

  • #DCFEFB

    #DCFEFB

    oklch(97.2% 0.035 190.1)

  • #F4F5FF

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  • #FFF2F4

    #FFF2F4

    oklch(97.2% 0.014 6.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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