#FEF7DC
Closest named color: Cornsilk (#FFF8DC). oklch(97.5% 0.036 95), rgb(254, 247, 220).
Aa
Black text reads best on this color (19.55:1).
About this color
#FEF7DC is a very light, muted yellow. In OKLCH its lightness is 97%, its chroma 0.036 and its hue 95°. 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.55:1.
| Hue family | Yellows |
| Lightness | very light (97%) |
| Chroma | muted (0.036) |
| Temperature | warm |
| Nearest name | Cornsilk (#FFF8DC) |
| Black text | 19.55:1 |
| White text | 1.07:1 |
Values
| HEX | #FEF7DC |
| RGB | rgb(254, 247, 220) |
| HSL | hsl(48, 94%, 93%) |
| OKLCH | oklch(97.5% 0.036 95) |
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 #FEF7DC | 1.07:1 | Fails | Lc 0.0 | Not readable |
| Black text on #FEF7DC | 19.55:1 | AAA | Lc 101.1 | Preferred for body text |
| #FEF7DC text on white | 1.07:1 | Fails | Lc 0.0 | Not readable |
| #FEF7DC text on black | 19.55:1 | AAA | Lc -102.4 | 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)
#FEF7DC
oklch(97.5% 0.036 95)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DED9C7
oklch(88.4% 0.025 94.1)
-
Step 300
300
#CAC19F
oklch(80.9% 0.047 94.9)
-
Step 400
400
#AFA16B
oklch(70.8% 0.074 95.3)
-
Step 500
500
#9B8941
oklch(63.1% 0.095 95.5)
-
Step 600
600
#86721D
oklch(55.6% 0.103 95.2)
-
Step 700
700
#725F0E
oklch(49% 0.095 94.4)
-
Step 800
800
#5D4E11
oklch(42.7% 0.079 94.5)
-
Step 900
900
#4C4116
oklch(37.7% 0.062 94.8)
-
Step 950
950
#2C260E
oklch(26.9% 0.039 95.5)
#FEF7DC 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) | #FDF5DA | 0.005 |
| Deuteranopia (no green cones) | #FFF8DD | 0.003 |
| Tritanopia (no blue cones) | #FFF3EF | 0.030 |
| Achromatopsia (no color) | #F7F7F7 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #FEF7DC
#FEF7DC
oklch(97.5% 0.036 95)
- #F4F6FF
#F4F6FF
oklch(97.4% 0.012 276.1)
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 #FEF7DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornsilk #FFF8DC ΔE 0.003
- Beige #F5F5DC ΔE 0.014
- Old Lace #FDF5E6 ΔE 0.016
- Pale #FFF9D0 ΔE 0.018
- Light Goldenrod Yellow #FAFAD2 ΔE 0.018
- Papaya Whip #FFEFD5 ΔE 0.019
- Light Yellow #FFFFE0 ΔE 0.020
- Off White #FFFFE4 ΔE 0.020
Use #FEF7DC 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.