#DFDF9B
Closest named color: Vanilla (#E9D8A6). oklch(88.8% 0.088 108.1), rgb(223, 223, 155).
Aa
Black text reads best on this color (15.16:1).
About this color
#DFDF9B is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.088 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.030 away. Black text reads best on it, at 15.16:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.088) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 15.16:1 |
| White text | 1.38:1 |
Values
| HEX | #DFDF9B |
| RGB | rgb(223, 223, 155) |
| HSL | hsl(60, 52%, 74%) |
| OKLCH | oklch(88.8% 0.088 108.1) |
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 #DFDF9B | 1.38:1 | Fails | Lc -21.4 | Dividers and decoration only |
| Black text on #DFDF9B | 15.16:1 | AAA | Lc 85.0 | Fine for body text |
| #DFDF9B text on white | 1.38:1 | Fails | Lc 18.7 | Dividers and decoration only |
| #DFDF9B text on black | 15.16:1 | AAA | Lc -84.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
#F6F6EB
oklch(97% 0.015 106.7)
-
Step 100
100
#EBECD3
oklch(93.6% 0.033 108.9)
-
Step 200
200 (this color)
#DFDF9B
oklch(88.8% 0.088 108.1)
-
Step 300
300
#C7C66D
oklch(80.8% 0.112 108.1)
-
Step 400
400
#AAA700
oklch(70.8% 0.153 108.5)
-
Step 500
500
#928F00
oklch(63.2% 0.136 108.3)
-
Step 600
600
#7B7800
oklch(55.7% 0.12 108)
-
Step 700
700
#676400
oklch(49% 0.105 107.7)
-
Step 800
800
#545200
oklch(42.7% 0.092 108.1)
-
Step 900
900
#464400
oklch(37.6% 0.081 107.8)
-
Step 950
950
#292800
oklch(26.9% 0.058 108.3)
#DFDF9B 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.019 |
| Deuteranopia (no green cones) | #EBDC9E | 0.019 |
| Tritanopia (no blue cones) | #E9D7CD | 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°).
- #DFDF9B
#DFDF9B
oklch(88.8% 0.088 108.1)
- #D7D5FF
#D7D5FF
oklch(88.8% 0.057 287.3)
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 #DFDF9B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.030
- Light Gold #F3DE8A ΔE 0.031
- Pale Goldenrod #EEE8AA ΔE 0.035
- Khaki #F0E68C ΔE 0.037
- Sandy #F1DA7A ΔE 0.038
- Lemon Meringue #EAE2B7 ΔE 0.039
- Tea Green #CAE7B9 ΔE 0.040
- Wheat #F5DEB3 ΔE 0.046
Use #DFDF9B 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.