#DFD298
Closest named color: Vanilla (#E9D8A6). oklch(86.1% 0.077 97), rgb(223, 210, 152).
Aa
Black text reads best on this color (13.80:1).
About this color
#DFD298 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.077 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.026 away. Black text reads best on it, at 13.80:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | moderately saturated (0.077) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 13.80:1 |
| White text | 1.52:1 |
Values
| HEX | #DFD298 |
| RGB | rgb(223, 210, 152) |
| HSL | hsl(49, 53%, 74%) |
| OKLCH | oklch(86.1% 0.077 97) |
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 #DFD298 | 1.52:1 | Fails | Lc -27.4 | Dividers and decoration only |
| Black text on #DFD298 | 13.80:1 | AAA | Lc 79.6 | Fine for body text |
| #DFD298 text on white | 1.52:1 | Fails | Lc 24.2 | Dividers and decoration only |
| #DFD298 text on black | 13.80:1 | AAA | Lc -79.0 | 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
#F8F6EC
oklch(97.2% 0.013 97.4)
-
Step 100
100
#EFEAD5
oklch(93.5% 0.028 95.9)
-
Step 200
200 (this color)
#DFD298
oklch(86.1% 0.077 97)
-
Step 300
300
#D2C175
oklch(80.8% 0.098 97.1)
-
Step 400
400
#BAA000
oklch(70.7% 0.146 97.5)
-
Step 500
500
#A08900
oklch(63.2% 0.13 97.2)
-
Step 600
600
#867300
oklch(55.7% 0.115 97.6)
-
Step 700
700
#716000
oklch(49.1% 0.101 97)
-
Step 800
800
#5D4E00
oklch(42.6% 0.088 96.3)
-
Step 900
900
#4D4100
oklch(37.6% 0.078 97.3)
-
Step 950
950
#2E2600
oklch(27% 0.056 97.1)
#DFD298 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) | #DDCF94 | 0.009 |
| Deuteranopia (no green cones) | #E1D49A | 0.006 |
| Tritanopia (no blue cones) | #EACAC3 | 0.070 |
| Achromatopsia (no color) | #D1D1D1 | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFD298
#DFD298
oklch(86.1% 0.077 97)
- #C5CEFF
#C5CEFF
oklch(86.1% 0.069 276.7)
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 #DFD298, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.026
- Pale Oak #DBCFB0 ΔE 0.034
- Sand #E2CA76 ΔE 0.037
- Light Gold #F3DE8A ΔE 0.049
- Sandy #F1DA7A ΔE 0.051
- Saffron #E9C46A ΔE 0.051
- Greenish Beige #C9D179 ΔE 0.051
- Lemon Meringue #EAE2B7 ΔE 0.052
Use #DFD298 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.