#FFF8E1
Closest named color: Cornsilk (#FFF8DC). oklch(97.9% 0.031 92.9), rgb(255, 248, 225).
Aa
Black text reads best on this color (19.76:1).
About this color
#FFF8E1 is a very light, muted yellow. In OKLCH its lightness is 98%, its chroma 0.031 and its hue 93°. 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.76:1.
| Hue family | Yellows |
| Lightness | very light (98%) |
| Chroma | muted (0.031) |
| Temperature | warm |
| Nearest name | Cornsilk (#FFF8DC) |
| Black text | 19.76:1 |
| White text | 1.06:1 |
Values
| HEX | #FFF8E1 |
| RGB | rgb(255, 248, 225) |
| HSL | hsl(46, 100%, 94%) |
| OKLCH | oklch(97.9% 0.031 92.9) |
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 #FFF8E1 | 1.06:1 | Fails | Lc 0.0 | Not readable |
| Black text on #FFF8E1 | 19.76:1 | AAA | Lc 101.8 | Preferred for body text |
| #FFF8E1 text on white | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #FFF8E1 text on black | 19.76:1 | AAA | Lc -103.2 | 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)
#FFF8E1
oklch(97.9% 0.031 92.9)
-
Step 100
100
#ECEAE1
oklch(93.6% 0.012 96.4)
-
Step 200
200
#DED9C9
oklch(88.5% 0.022 92.5)
-
Step 300
300
#C9C1A4
oklch(81% 0.04 94.4)
-
Step 400
400
#AEA073
oklch(70.7% 0.063 92.9)
-
Step 500
500
#9A884D
oklch(63% 0.081 92.9)
-
Step 600
600
#857230
oklch(55.6% 0.088 93.2)
-
Step 700
700
#715F22
oklch(49.1% 0.082 92.5)
-
Step 800
800
#5C4E1E
oklch(42.7% 0.069 93)
-
Step 900
900
#4B411E
oklch(37.7% 0.054 93.7)
-
Step 950
950
#2C2612
oklch(27% 0.034 93.2)
#FFF8E1 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) | #FDF7E0 | 0.004 |
| Deuteranopia (no green cones) | #FFF9E2 | 0.002 |
| Tritanopia (no blue cones) | #FFF4F1 | 0.027 |
| Achromatopsia (no color) | #F8F8F8 | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #FFF8E1
#FFF8E1
oklch(97.9% 0.031 92.9)
- #F5F8FF
#F5F8FF
oklch(97.9% 0.01 267.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #FFF8E1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornsilk #FFF8DC ΔE 0.007
- Old Lace #FDF5E6 ΔE 0.012
- Beige #F5F5DC ΔE 0.017
- Off White #FFFFE4 ΔE 0.017
- Light Yellow #FFFFE0 ΔE 0.019
- Floral White #FFFAF0 ΔE 0.019
- Seashell #FFF5EE ΔE 0.021
- Ivory #FFFFF0 ΔE 0.022
Use #FFF8E1 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.