#F8D797
Closest named color: Vanilla (#E9D8A6). oklch(89.2% 0.089 83.5), rgb(248, 215, 151).
Aa
Black text reads best on this color (15.15:1).
About this color
#F8D797 is a light, moderately saturated orange. In OKLCH its lightness is 89%, its chroma 0.089 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.025 away. Black text reads best on it, at 15.15:1.
| Hue family | Oranges |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.089) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 15.15:1 |
| White text | 1.38:1 |
Values
| HEX | #F8D797 |
| RGB | rgb(248, 215, 151) |
| HSL | hsl(40, 87%, 78%) |
| OKLCH | oklch(89.2% 0.089 83.5) |
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 #F8D797 | 1.38:1 | Fails | Lc -21.4 | Dividers and decoration only |
| Black text on #F8D797 | 15.15:1 | AAA | Lc 85.0 | Fine for body text |
| #F8D797 text on white | 1.38:1 | Fails | Lc 18.7 | Dividers and decoration only |
| #F8D797 text on black | 15.15:1 | AAA | Lc -84.8 | Fine 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 200.
-
Step 50
50
#FAF5EA
oklch(97.1% 0.015 86.4)
-
Step 100
100
#F5E8D1
oklch(93.5% 0.034 82)
-
Step 200
200 (this color)
#F8D797
oklch(89.2% 0.089 83.5)
-
Step 300
300
#E4BA65
oklch(80.9% 0.114 83.4)
-
Step 400
400
#CB9700
oklch(70.7% 0.145 83.8)
-
Step 500
500
#AF8100
oklch(63.2% 0.13 83.3)
-
Step 600
600
#936C00
oklch(55.6% 0.114 83.5)
-
Step 700
700
#7C5A00
oklch(49% 0.101 82.9)
-
Step 800
800
#664A00
oklch(42.8% 0.088 83.6)
-
Step 900
900
#553D00
oklch(37.7% 0.077 83.5)
-
Step 950
950
#332300
oklch(26.8% 0.055 83)
#F8D797 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) | #E6D692 | 0.028 |
| Deuteranopia (no green cones) | #EFDF99 | 0.022 |
| Tritanopia (no blue cones) | #FFCCC7 | 0.077 |
| Achromatopsia (no color) | #DBDBDB | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F8D797
#F8D797
oklch(89.2% 0.089 83.5)
- #CADCFF
#CADCFF
oklch(89.2% 0.052 263.7)
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 #F8D797, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.025
- Light Gold #F3DE8A ΔE 0.028
- Navajo White #FFDEAD ΔE 0.030
- Wheat #F5DEB3 ΔE 0.032
- Light Peach #FFD8B1 ΔE 0.034
- Sandy #F1DA7A ΔE 0.038
- Pale Peach #FFE5AD ΔE 0.040
- Lemon Meringue #EAE2B7 ΔE 0.041
Use #F8D797 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.