#DED996
Closest named color: Vanilla (#E9D8A6). oklch(87.4% 0.086 104.4), rgb(222, 217, 150).
Aa
Black text reads best on this color (14.47:1).
About this color
#DED996 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.086 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.027 away. Black text reads best on it, at 14.47:1.
| Hue family | Yellows |
| Lightness | light (87%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.47:1 |
| White text | 1.45:1 |
Values
| HEX | #DED996 |
| RGB | rgb(222, 217, 150) |
| HSL | hsl(56, 52%, 73%) |
| OKLCH | oklch(87.4% 0.086 104.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 #DED996 | 1.45:1 | Fails | Lc -24.4 | Dividers and decoration only |
| Black text on #DED996 | 14.47:1 | AAA | Lc 82.2 | Fine for body text |
| #DED996 text on white | 1.45:1 | Fails | Lc 21.5 | Dividers and decoration only |
| #DED996 text on black | 14.47:1 | AAA | Lc -81.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
#F7F6EB
oklch(97.1% 0.015 102.5)
-
Step 100
100
#EDEBD3
oklch(93.5% 0.032 103.1)
-
Step 200
200 (this color)
#DED996
oklch(87.4% 0.086 104.4)
-
Step 300
300
#CCC56C
oklch(81% 0.112 104.6)
-
Step 400
400
#B0A400
oklch(70.6% 0.149 104.3)
-
Step 500
500
#978D00
oklch(63.2% 0.134 104.6)
-
Step 600
600
#7F7600
oklch(55.6% 0.118 104.3)
-
Step 700
700
#6A6300
oklch(49.1% 0.104 104.8)
-
Step 800
800
#575100
oklch(42.7% 0.09 104.7)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2B2700
oklch(26.9% 0.057 103.7)
#DED996 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) | #E4D491 | 0.014 |
| Deuteranopia (no green cones) | #E7D899 | 0.014 |
| Tritanopia (no blue cones) | #E8D0C8 | 0.079 |
| Achromatopsia (no color) | #D6D6D6 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DED996
#DED996
oklch(87.4% 0.086 104.4)
- #D0D0FF
#D0D0FF
oklch(87.3% 0.065 285)
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 #DED996, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.027
- Light Gold #F3DE8A ΔE 0.036
- Sandy #F1DA7A ΔE 0.039
- Sand #E2CA76 ΔE 0.043
- Lemon Meringue #EAE2B7 ΔE 0.046
- Khaki #F0E68C ΔE 0.047
- Pale Goldenrod #EEE8AA ΔE 0.048
- Tea Green #CAE7B9 ΔE 0.048
Use #DED996 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.