#FFF7DF
Closest named color: Cornsilk (#FFF8DC). oklch(97.6% 0.033 91.7), rgb(255, 247, 223).
Aa
Black text reads best on this color (19.62:1).
About this color
#FFF7DF is a very light, muted yellow. In OKLCH its lightness is 98%, its chroma 0.033 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Cornsilk (#FFF8DC), ΔE 0.005 away. Black text reads best on it, at 19.62:1.
| Hue family | Yellows |
| Lightness | very light (98%) |
| Chroma | muted (0.033) |
| Temperature | warm |
| Nearest name | Cornsilk (#FFF8DC) |
| Black text | 19.62:1 |
| White text | 1.07:1 |
Values
| HEX | #FFF7DF |
| RGB | rgb(255, 247, 223) |
| HSL | hsl(45, 100%, 94%) |
| OKLCH | oklch(97.6% 0.033 91.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #FFF7DF | 1.07:1 | Fails | Lc 0.0 | Not readable |
| Black text on #FFF7DF | 19.62:1 | AAA | Lc 101.3 | Preferred for body text |
| #FFF7DF text on white | 1.07:1 | Fails | Lc 0.0 | Not readable |
| #FFF7DF text on black | 19.62:1 | AAA | Lc -102.7 | 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.
-
Step 50
50 (this color)
#FFF7DF
oklch(97.6% 0.033 91.7)
-
Step 100
100
#EDEAE1
oklch(93.7% 0.012 91.5)
-
Step 200
200
#DED9C8
oklch(88.5% 0.024 93.4)
-
Step 300
300
#CAC0A3
oklch(80.8% 0.041 91.2)
-
Step 400
400
#B0A070
oklch(70.8% 0.068 91.8)
-
Step 500
500
#9C884A
oklch(63.1% 0.085 92)
-
Step 600
600
#87712B
oklch(55.6% 0.092 91.5)
-
Step 700
700
#735F1D
oklch(49.2% 0.087 91.7)
-
Step 800
800
#5D4D1A
oklch(42.6% 0.072 91.5)
-
Step 900
900
#4C411C
oklch(37.8% 0.056 93)
-
Step 950
950
#2D2611
oklch(27.1% 0.036 91.5)
#FFF7DF 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #FDF6DE | 0.004 |
| Deuteranopia (no green cones) | #FFF8E0 | 0.002 |
| Tritanopia (no blue cones) | #FFF3F0 | 0.028 |
| Achromatopsia (no color) | #F7F7F7 | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #FFF7DF
#FFF7DF
oklch(97.6% 0.033 91.7)
- #F4F7FF
#F4F7FF
oklch(97.6% 0.011 269.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes and gradients that use #FFF7DF
These curated palettes and gradients contain exactly #FFF7DF. Open one to see the full color scheme around it.
Palettes
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornsilk #FFF8DC ΔE 0.005
- Old Lace #FDF5E6 ΔE 0.012
- Beige #F5F5DC ΔE 0.015
- Off White #FFFFE4 ΔE 0.019
- Papaya Whip #FFEFD5 ΔE 0.020
- Light Yellow #FFFFE0 ΔE 0.020
- Floral White #FFFAF0 ΔE 0.021
- Pale #FFF9D0 ΔE 0.022
Use #FFF7DF 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.