#F8E68A
Closest named color: Khaki (#F0E68C). oklch(92% 0.114 98.5), rgb(248, 230, 138).
Aa
Black text reads best on this color (16.67:1).
About this color
#F8E68A is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.114 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.011 away. Black text reads best on it, at 16.67:1.
| Hue family | Yellows |
| Lightness | very light (92%) |
| Chroma | moderately saturated (0.114) |
| Temperature | warm |
| Nearest name | Khaki (#F0E68C) |
| Black text | 16.67:1 |
| White text | 1.25:1 |
Values
| HEX | #F8E68A |
| RGB | rgb(248, 230, 138) |
| HSL | hsl(50, 89%, 76%) |
| OKLCH | oklch(92% 0.114 98.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 #F8E68A | 1.25:1 | Fails | Lc -14.8 | Not readable |
| Black text on #F8E68A | 16.67:1 | AAA | Lc 90.8 | Preferred for body text |
| #F8E68A text on white | 1.25:1 | Fails | Lc 12.8 | Not readable |
| #F8E68A text on black | 16.67:1 | AAA | Lc -91.1 | 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 100.
-
Step 50
50
#F9F6E7
oklch(97.1% 0.02 97.5)
-
Step 100
100 (this color)
#F8E68A
oklch(92% 0.114 98.5)
-
Step 200
200
#E7DB9C
oklch(88.6% 0.082 98.7)
-
Step 300
300
#D9C13E
oklch(80.9% 0.147 98.6)
-
Step 400
400
#B8A100
oklch(70.8% 0.147 99)
-
Step 500
500
#9E8900
oklch(63% 0.13 98.3)
-
Step 600
600
#857300
oklch(55.6% 0.115 98.3)
-
Step 700
700
#706100
oklch(49.2% 0.102 98.7)
-
Step 800
800
#5C4F00
oklch(42.8% 0.088 98.3)
-
Step 900
900
#4C4200
oklch(37.8% 0.078 99.5)
-
Step 950
950
#2E2600
oklch(27% 0.056 97.1)
#F8E68A 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) | #F6E183 | 0.013 |
| Deuteranopia (no green cones) | #FBE88E | 0.008 |
| Tritanopia (no blue cones) | #FFDAD0 | 0.102 |
| Achromatopsia (no color) | #E5E5E5 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F8E68A
#F8E68A
oklch(92% 0.114 98.5)
- #DEE3FF
#DEE3FF
oklch(92.1% 0.038 277.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 with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #F8E68A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.011
- Light Gold #F3DE8A ΔE 0.022
- Yellow Tan #FFE36E ΔE 0.026
- Pale Gold #FDDE6C ΔE 0.029
- Sand Yellow #FCE166 ΔE 0.032
- Sandy #F1DA7A ΔE 0.033
- Dark Cream #FFF39A ΔE 0.035
- Pale Goldenrod #EEE8AA ΔE 0.036
Use #F8E68A 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.