#E2E998
Closest named color: Khaki (#F0E68C). oklch(91% 0.103 112.5), rgb(226, 233, 152).
Aa
Black text reads best on this color (16.34:1).
About this color
#E2E998 is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.103 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.020 away. Black text reads best on it, at 16.34:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.103) |
| Temperature | in between |
| Nearest name | Khaki (#F0E68C) |
| Black text | 16.34:1 |
| White text | 1.28:1 |
Values
| HEX | #E2E998 |
| RGB | rgb(226, 233, 152) |
| HSL | hsl(65, 65%, 75%) |
| OKLCH | oklch(91% 0.103 112.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 #E2E998 | 1.28:1 | Fails | Lc -16.3 | Dividers and decoration only |
| Black text on #E2E998 | 16.34:1 | AAA | Lc 89.5 | Fine for body text |
| #E2E998 text on white | 1.28:1 | Fails | Lc 14.1 | Not readable |
| #E2E998 text on black | 16.34:1 | AAA | Lc -89.7 | 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
#F5F7EA
oklch(97.1% 0.017 113.8)
-
Step 100
100
#EAEDD0
oklch(93.6% 0.038 111.9)
-
Step 200
200 (this color)
#E2E998
oklch(91% 0.103 112.5)
-
Step 300
300
#C2C95D
oklch(80.9% 0.132 112.4)
-
Step 400
400
#A3A900
oklch(70.6% 0.157 112.3)
-
Step 500
500
#8C9100
oklch(63.1% 0.14 112.2)
-
Step 600
600
#757A00
oklch(55.6% 0.124 112.6)
-
Step 700
700
#626600
oklch(49% 0.109 112.4)
-
Step 800
800
#505400
oklch(42.8% 0.095 112.9)
-
Step 900
900
#434600
oklch(37.9% 0.084 112.5)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#E2E998 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) | #F5E292 | 0.029 |
| Deuteranopia (no green cones) | #F5E49C | 0.030 |
| Tritanopia (no blue cones) | #ECE0D5 | 0.091 |
| Achromatopsia (no color) | #E3E3E3 | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E2E998
#E2E998
oklch(91% 0.103 112.5)
- #E2DCFF
#E2DCFF
oklch(91% 0.048 293.3)
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 #E2E998, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.020
- Light Khaki #E6F2A2 ΔE 0.024
- Pale Goldenrod #EEE8AA ΔE 0.030
- Light Gold #F3DE8A ΔE 0.032
- Sandy #F1DA7A ΔE 0.042
- Light Tan #FBEEAC ΔE 0.045
- Light Sage #BCECAC ΔE 0.048
- Dark Cream #FFF39A ΔE 0.049
Use #E2E998 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.