#EDD998
Closest named color: Vanilla (#E9D8A6). oklch(88.7% 0.086 93), rgb(237, 217, 152).
Aa
Black text reads best on this color (14.97:1).
About this color
#EDD998 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.086 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.018 away. Black text reads best on it, at 14.97:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.97:1 |
| White text | 1.40:1 |
Values
| HEX | #EDD998 |
| RGB | rgb(237, 217, 152) |
| HSL | hsl(46, 70%, 76%) |
| OKLCH | oklch(88.7% 0.086 93) |
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 #EDD998 | 1.40:1 | Fails | Lc -22.2 | Dividers and decoration only |
| Black text on #EDD998 | 14.97:1 | AAA | Lc 84.3 | Fine for body text |
| #EDD998 text on white | 1.40:1 | Fails | Lc 19.4 | Dividers and decoration only |
| #EDD998 text on black | 14.97:1 | AAA | Lc -84.0 | 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
#F9F5EB
oklch(97.1% 0.014 88.7)
-
Step 100
100
#F1EAD2
oklch(93.6% 0.033 93.5)
-
Step 200
200 (this color)
#EDD998
oklch(88.7% 0.086 93)
-
Step 300
300
#D9BF69
oklch(80.9% 0.11 93)
-
Step 400
400
#C09D00
oklch(70.7% 0.145 92.8)
-
Step 500
500
#A48600
oklch(63% 0.129 93)
-
Step 600
600
#8A7100
oklch(55.6% 0.114 93.5)
-
Step 700
700
#745E00
oklch(49% 0.1 92.9)
-
Step 800
800
#5F4D00
oklch(42.6% 0.087 93.4)
-
Step 900
900
#504000
oklch(37.8% 0.077 92.8)
-
Step 950
950
#302500
oklch(26.9% 0.055 91.9)
#EDD998 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) | #E6D693 | 0.014 |
| Deuteranopia (no green cones) | #ECDC9A | 0.007 |
| Tritanopia (no blue cones) | #FACFC8 | 0.078 |
| Achromatopsia (no color) | #DADADA | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EDD998
#EDD998
oklch(88.7% 0.086 93)
- #CDD8FF
#CDD8FF
oklch(88.6% 0.055 272.8)
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 #EDD998, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.018
- Light Gold #F3DE8A ΔE 0.025
- Sandy #F1DA7A ΔE 0.034
- Wheat #F5DEB3 ΔE 0.035
- Lemon Meringue #EAE2B7 ΔE 0.037
- Pale Goldenrod #EEE8AA ΔE 0.038
- Navajo White #FFDEAD ΔE 0.039
- Khaki #F0E68C ΔE 0.041
Use #EDD998 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.