#FFF7DC

Closest named color: Cornsilk (#FFF8DC). oklch(97.5% 0.036 93.3), rgb(255, 247, 220).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (98%)
Chromamuted (0.036)
Temperaturewarm
Nearest nameCornsilk (#FFF8DC)
Black text19.58:1
White text1.07:1

Values

HEX#FFF7DC
RGBrgb(255, 247, 220)
HSLhsl(46, 100%, 93%)
OKLCHoklch(97.5% 0.036 93.3)

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 #FFF7DC 1.07:1 Fails Lc 0.0 Not readable
Black text on #FFF7DC 19.58:1 AAA Lc 101.2 Preferred for body text
#FFF7DC text on white 1.07:1 Fails Lc 0.0 Not readable
#FFF7DC text on black 19.58:1 AAA Lc -102.6 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)

    #FFF7DC

    oklch(97.5% 0.036 93.3)

  2. Step 100

    100

    #EDEAE0

    oklch(93.7% 0.014 93)

  3. Step 200

    200

    #DFD9C6

    oklch(88.5% 0.026 92.4)

  4. Step 300

    300

    #CBC19F

    oklch(81% 0.047 93.6)

  5. Step 400

    400

    #B0A06A

    oklch(70.7% 0.075 93.5)

  6. Step 500

    500

    #9D8840

    oklch(63.1% 0.095 93.2)

  7. Step 600

    600

    #88711C

    oklch(55.5% 0.103 92.9)

  8. Step 700

    700

    #735F0C

    oklch(49.1% 0.096 93.8)

  9. Step 800

    800

    #5E4E10

    oklch(42.8% 0.08 93.7)

  10. Step 900

    900

    #4D4116

    oklch(37.8% 0.062 93.5)

  11. Step 950

    950

    #2D260E

    oklch(27% 0.04 93.3)

Export this scale for Tailwind in the Tailwind colors tool

#FFF7DC 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)#FFF8DD0.002
Tritanopia (no blue cones)#FFF3EF0.030
Achromatopsia (no color)#F7F7F70.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #FFF7DC

    #FFF7DC

    oklch(97.5% 0.036 93.3)

  • #F4F7FF

    #F4F7FF

    oklch(97.6% 0.011 269.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FFF7DC

    #FFF7DC

    oklch(97.5% 0.036 93.3)

  • #FFF5EC

    #FFF5EC

    oklch(97.5% 0.016 64.7)

  • #F2FBE1

    #F2FBE1

    oklch(97.4% 0.035 122.6)

Open the analogous palette in the generator

Split complementary

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

  • #FFF7DC

    #FFF7DC

    oklch(97.5% 0.036 93.3)

  • #F0F8FF

    #F0F8FF

    oklch(97.5% 0.013 244.3)

  • #F9F5FF

    #F9F5FF

    oklch(97.6% 0.014 304.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FFF7DC

    #FFF7DC

    oklch(97.5% 0.036 93.3)

  • #E9FBFF

    #E9FBFF

    oklch(97.6% 0.02 212.5)

  • #FFF3FC

    #FFF3FC

    oklch(97.6% 0.017 334.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FFF7DC

    #FFF7DC

    oklch(97.5% 0.036 93.3)

  • #DFFFF9

    #DFFFF9

    oklch(97.5% 0.034 183.1)

  • #F4F7FF

    #F4F7FF

    oklch(97.6% 0.011 269.6)

  • #FFF4F6

    #FFF4F6

    oklch(97.6% 0.012 4.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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