#D1D8A3
Closest named color: Vanilla (#E9D8A6). oklch(86.4% 0.07 114), rgb(209, 216, 163).
Aa
Black text reads best on this color (14.06:1).
About this color
#D1D8A3 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.070 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.034 away. Black text reads best on it, at 14.06:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | moderately saturated (0.070) |
| Temperature | in between |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.06:1 |
| White text | 1.49:1 |
Values
| HEX | #D1D8A3 |
| RGB | rgb(209, 216, 163) |
| HSL | hsl(68, 40%, 74%) |
| OKLCH | oklch(86.4% 0.07 114) |
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 #D1D8A3 | 1.49:1 | Fails | Lc -26.3 | Dividers and decoration only |
| Black text on #D1D8A3 | 14.06:1 | AAA | Lc 80.6 | Fine for body text |
| #D1D8A3 text on white | 1.49:1 | Fails | Lc 23.2 | Dividers and decoration only |
| #D1D8A3 text on black | 14.06:1 | AAA | Lc -80.1 | 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
#F5F6ED
oklch(97% 0.012 111.8)
-
Step 100
100
#E9ECD9
oklch(93.6% 0.025 114.2)
-
Step 200
200 (this color)
#D1D8A3
oklch(86.4% 0.07 114)
-
Step 300
300
#BFC883
oklch(81% 0.091 114.5)
-
Step 400
400
#A0AA2A
oklch(70.7% 0.145 114.1)
-
Step 500
500
#899200
oklch(63.1% 0.142 114.1)
-
Step 600
600
#737B00
oklch(55.7% 0.125 114.2)
-
Step 700
700
#606700
oklch(49.1% 0.111 114.3)
-
Step 800
800
#4F5400
oklch(42.7% 0.096 113.7)
-
Step 900
900
#414600
oklch(37.7% 0.085 114.3)
-
Step 950
950
#262900
oklch(26.9% 0.06 113.9)
#D1D8A3 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) | #E0D3A0 | 0.022 |
| Deuteranopia (no green cones) | #E0D4A5 | 0.023 |
| Tritanopia (no blue cones) | #D7D2CA | 0.061 |
| Achromatopsia (no color) | #D3D3D3 | 0.070 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1D8A3
#D1D8A3
oklch(86.4% 0.07 114)
- #D4CAFD
#D4CAFD
oklch(86.4% 0.071 293.9)
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 #D1D8A3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.034
- Pale Oak #DBCFB0 ΔE 0.037
- Tea Green #CAE7B9 ΔE 0.039
- Light Grey Green #B7E1A1 ΔE 0.040
- Lemon Meringue #EAE2B7 ΔE 0.050
- Greenish Beige #C9D179 ΔE 0.051
- Sand #E2CA76 ΔE 0.053
- Light Sage #BCECAC ΔE 0.054
Use #D1D8A3 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.