#FFF8DC
Named color: Cornsilk. oklch(97.7% 0.037 95.4), rgb(255, 248, 220).
Aa
Black text reads best on this color (19.71:1).
About this color
#FFF8DC is a very light, muted yellow. In OKLCH its lightness is 98%, its chroma 0.037 and its hue 95°. Its hue sits on the warm side of the wheel. It is the named color Cornsilk. Black text reads best on it, at 19.71:1.
| Hue family | Yellows |
| Lightness | very light (98%) |
| Chroma | muted (0.037) |
| Temperature | warm |
| Nearest name | Cornsilk |
| Black text | 19.71:1 |
| White text | 1.06:1 |
Values
| HEX | #FFF8DC |
| RGB | rgb(255, 248, 220) |
| HSL | hsl(48, 100%, 93%) |
| OKLCH | oklch(97.7% 0.037 95.4) |
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 #FFF8DC | 1.06:1 | Fails | Lc 0.0 | Not readable |
| Black text on #FFF8DC | 19.71:1 | AAA | Lc 101.6 | Preferred for body text |
| #FFF8DC text on white | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #FFF8DC text on black | 19.71:1 | AAA | Lc -103.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.
-
Step 50
50 (this color)
#FFF8DC
oklch(97.7% 0.037 95.4)
-
Step 100
100
#ECEAE0
oklch(93.6% 0.013 97.4)
-
Step 200
200
#DED9C6
oklch(88.4% 0.026 94.8)
-
Step 300
300
#CAC19E
oklch(80.9% 0.048 95.3)
-
Step 400
400
#AFA169
oklch(70.8% 0.076 95.8)
-
Step 500
500
#9C893E
oklch(63.2% 0.098 95.2)
-
Step 600
600
#877217
oklch(55.6% 0.106 95)
-
Step 700
700
#725F05
oklch(49% 0.099 95)
-
Step 800
800
#5D4E0C
oklch(42.7% 0.082 95.2)
-
Step 900
900
#4C4114
oklch(37.7% 0.064 95.3)
-
Step 950
950
#2C260D
oklch(26.9% 0.041 96)
#FFF8DC 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) | #FEF6DA | 0.005 |
| Deuteranopia (no green cones) | #FFF9DD | 0.002 |
| Tritanopia (no blue cones) | #FFF4F0 | 0.032 |
| Achromatopsia (no color) | #F8F8F8 | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #FFF8DC
#FFF8DC
oklch(97.7% 0.037 95.4)
- #F5F7FF
#F5F7FF
oklch(97.7% 0.011 274.9)
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 #FFF8DC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Beige #F5F5DC ΔE 0.016
- Pale #FFF9D0 ΔE 0.017
- Light Yellow #FFFFE0 ΔE 0.017
- Light Goldenrod Yellow #FAFAD2 ΔE 0.017
- Off White #FFFFE4 ΔE 0.017
- Old Lace #FDF5E6 ΔE 0.018
- Lemon Chiffon #FFFACD ΔE 0.022
- Papaya Whip #FFEFD5 ΔE 0.022
Use #FFF8DC 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.