#D8D488
Closest named color: Sand (#E2CA76). oklch(85.6% 0.097 105.7), rgb(216, 212, 136).
Aa
Black text reads best on this color (13.69:1).
About this color
#D8D488 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.097 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.028 away. Black text reads best on it, at 13.69:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | moderately saturated (0.097) |
| Temperature | warm |
| Nearest name | Sand (#E2CA76) |
| Black text | 13.69:1 |
| White text | 1.53:1 |
Values
| HEX | #D8D488 |
| RGB | rgb(216, 212, 136) |
| HSL | hsl(57, 51%, 69%) |
| OKLCH | oklch(85.6% 0.097 105.7) |
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 #D8D488 | 1.53:1 | Fails | Lc -27.9 | Dividers and decoration only |
| Black text on #D8D488 | 13.69:1 | AAA | Lc 79.1 | Fine for body text |
| #D8D488 text on white | 1.53:1 | Fails | Lc 24.7 | Dividers and decoration only |
| #D8D488 text on black | 13.69:1 | AAA | Lc -78.5 | 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
#F7F6EA
oklch(97.1% 0.016 102.8)
-
Step 100
100
#EDECD0
oklch(93.7% 0.037 105.4)
-
Step 200
200 (this color)
#D8D488
oklch(85.6% 0.097 105.7)
-
Step 300
300
#CCC55F
oklch(80.9% 0.125 105.3)
-
Step 400
400
#AEA500
oklch(70.7% 0.151 105.7)
-
Step 500
500
#958D00
oklch(63% 0.134 105.6)
-
Step 600
600
#7D7700
oklch(55.7% 0.119 106.2)
-
Step 700
700
#696300
oklch(49% 0.104 105.5)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#484400
oklch(37.8% 0.081 105.9)
-
Step 950
950
#2A2800
oklch(27% 0.058 106.8)
#D8D488 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) | #E0CF82 | 0.015 |
| Deuteranopia (no green cones) | #E2D28B | 0.016 |
| Tritanopia (no blue cones) | #E3CBC1 | 0.087 |
| Achromatopsia (no color) | #D1D1D1 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8D488
#D8D488
oklch(85.6% 0.097 105.7)
- #CBC9FF
#CBC9FF
oklch(85.6% 0.075 286.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 #D8D488, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sand #E2CA76 ΔE 0.028
- Greenish Beige #C9D179 ΔE 0.029
- Sandy #F1DA7A ΔE 0.043
- Saffron #E9C46A ΔE 0.045
- Vanilla #E9D8A6 ΔE 0.045
- Light Gold #F3DE8A ΔE 0.048
- Greenish Tan #BCCB7A ΔE 0.049
- Pale Olive #B9CC81 ΔE 0.050
Use #D8D488 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.