#D2D8A5
Closest named color: Vanilla (#E9D8A6). oklch(86.5% 0.068 113.3), rgb(210, 216, 165).
Aa
Black text reads best on this color (14.10:1).
About this color
#D2D8A5 is a light, muted yellow. In OKLCH its lightness is 86%, its chroma 0.068 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.032 away. Black text reads best on it, at 14.10:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | muted (0.068) |
| Temperature | in between |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.10:1 |
| White text | 1.48:1 |
Values
| HEX | #D2D8A5 |
| RGB | rgb(210, 216, 165) |
| HSL | hsl(67, 40%, 75%) |
| OKLCH | oklch(86.5% 0.068 113.3) |
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 #D2D8A5 | 1.48:1 | Fails | Lc -26.1 | Dividers and decoration only |
| Black text on #D2D8A5 | 14.10:1 | AAA | Lc 80.8 | Fine for body text |
| #D2D8A5 text on white | 1.48:1 | Fails | Lc 23.0 | Dividers and decoration only |
| #D2D8A5 text on black | 14.10:1 | AAA | Lc -80.2 | 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
#F5F6EE
oklch(97% 0.011 112.4)
-
Step 100
100
#E9ECD9
oklch(93.6% 0.025 114.2)
-
Step 200
200 (this color)
#D2D8A5
oklch(86.5% 0.068 113.3)
-
Step 300
300
#C0C785
oklch(80.9% 0.087 113.3)
-
Step 400
400
#A1A932
oklch(70.6% 0.139 113.2)
-
Step 500
500
#8A9200
oklch(63.2% 0.142 113.6)
-
Step 600
600
#747A00
oklch(55.6% 0.124 113.2)
-
Step 700
700
#616700
oklch(49.2% 0.11 113.7)
-
Step 800
800
#4F5400
oklch(42.7% 0.096 113.7)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#D2D8A5 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) | #E0D3A2 | 0.021 |
| Deuteranopia (no green cones) | #E0D4A7 | 0.022 |
| Tritanopia (no blue cones) | #D8D2CA | 0.058 |
| Achromatopsia (no color) | #D4D4D4 | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2D8A5
#D2D8A5
oklch(86.5% 0.068 113.3)
- #D4CBFC
#D4CBFC
oklch(86.5% 0.068 293.4)
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 #D2D8A5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.032
- Pale Oak #DBCFB0 ΔE 0.034
- Tea Green #CAE7B9 ΔE 0.039
- Light Grey Green #B7E1A1 ΔE 0.042
- Lemon Meringue #EAE2B7 ΔE 0.048
- Greenish Beige #C9D179 ΔE 0.053
- Sand #E2CA76 ΔE 0.055
- Light Sage #BCECAC ΔE 0.055
Use #D2D8A5 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.