#DEDF9B
Closest named color: Vanilla (#E9D8A6). oklch(88.7% 0.088 108.8), rgb(222, 223, 155).
Aa
Black text reads best on this color (15.13:1).
About this color
#DEDF9B is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.088 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.031 away. Black text reads best on it, at 15.13:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.088) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 15.13:1 |
| White text | 1.38:1 |
Values
| HEX | #DEDF9B |
| RGB | rgb(222, 223, 155) |
| HSL | hsl(61, 52%, 74%) |
| OKLCH | oklch(88.7% 0.088 108.8) |
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 #DEDF9B | 1.38:1 | Fails | Lc -21.5 | Dividers and decoration only |
| Black text on #DEDF9B | 15.13:1 | AAA | Lc 84.9 | Fine for body text |
| #DEDF9B text on white | 1.38:1 | Fails | Lc 18.8 | Dividers and decoration only |
| #DEDF9B text on black | 15.13:1 | AAA | Lc -84.7 | 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
#F6F6EB
oklch(97% 0.015 106.7)
-
Step 100
100
#EBECD3
oklch(93.6% 0.033 108.9)
-
Step 200
200 (this color)
#DEDF9B
oklch(88.7% 0.088 108.8)
-
Step 300
300
#C6C76D
oklch(81% 0.113 109.2)
-
Step 400
400
#A9A700
oklch(70.7% 0.153 108.9)
-
Step 500
500
#918F00
oklch(63.1% 0.137 108.8)
-
Step 600
600
#7A7800
oklch(55.6% 0.12 108.6)
-
Step 700
700
#666500
oklch(49.1% 0.107 109.1)
-
Step 800
800
#545200
oklch(42.7% 0.092 108.1)
-
Step 900
900
#454400
oklch(37.5% 0.081 108.8)
-
Step 950
950
#292800
oklch(26.9% 0.058 108.3)
#DEDF9B 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) | #EAD996 | 0.020 |
| Deuteranopia (no green cones) | #EBDC9E | 0.020 |
| Tritanopia (no blue cones) | #E7D7CD | 0.077 |
| Achromatopsia (no color) | #DBDBDB | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DEDF9B
#DEDF9B
oklch(88.7% 0.088 108.8)
- #D8D4FF
#D8D4FF
oklch(88.7% 0.059 289.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 #DEDF9B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.031
- Light Gold #F3DE8A ΔE 0.032
- Pale Goldenrod #EEE8AA ΔE 0.036
- Khaki #F0E68C ΔE 0.037
- Sandy #F1DA7A ΔE 0.039
- Lemon Meringue #EAE2B7 ΔE 0.039
- Tea Green #CAE7B9 ΔE 0.040
- Wheat #F5DEB3 ΔE 0.047
Use #DEDF9B 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.