#D5DA98

Closest named color: Vanilla (#E9D8A6). oklch(86.9% 0.086 111.7), rgb(213, 218, 152).

Aa

Black text reads best on this color (14.31:1).

About this color

#D5DA98 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.086 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.036 away. Black text reads best on it, at 14.31:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameVanilla (#E9D8A6)
Black text14.31:1
White text1.46:1

Values

HEX#D5DA98
RGBrgb(213, 218, 152)
HSLhsl(65, 47%, 73%)
OKLCHoklch(86.9% 0.086 111.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D5DA98 1.46:1 Fails Lc -25.2 Dividers and decoration only
Black text on #D5DA98 14.31:1 AAA Lc 81.6 Fine for body text
#D5DA98 text on white 1.46:1 Fails Lc 22.1 Dividers and decoration only
#D5DA98 text on black 14.31:1 AAA Lc -81.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.

  1. Step 50

    50

    #F5F7EB

    oklch(97.1% 0.016 114.4)

  2. Step 100

    100

    #EAECD4

    oklch(93.5% 0.032 110.9)

  3. Step 200

    200 (this color)

    #D5DA98

    oklch(86.9% 0.086 111.7)

  4. Step 300

    300

    #C2C871

    oklch(80.9% 0.111 112.1)

  5. Step 400

    400

    #A4A900

    oklch(70.7% 0.156 111.9)

  6. Step 500

    500

    #8D9100

    oklch(63.2% 0.14 111.7)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#D5DA98 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#E4D4940.024
Deuteranopia (no green cones)#E4D69B0.024
Tritanopia (no blue cones)#DDD2C90.076
Achromatopsia (no color)#D5D5D50.086

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D5DA98

    #D5DA98

    oklch(86.9% 0.086 111.7)

  • #D4CCFF

    #D4CCFF

    oklch(86.8% 0.07 292.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5DA98

    #D5DA98

    oklch(86.9% 0.086 111.7)

  • #F1CF93

    #F1CF93

    oklch(87% 0.086 81.4)

  • #B5E3AE

    #B5E3AE

    oklch(87% 0.086 141.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D5DA98

    #D5DA98

    oklch(86.9% 0.086 111.7)

  • #BDD5FF

    #BDD5FF

    oklch(86.9% 0.064 261.6)

  • #EFC2F6

    #EFC2F6

    oklch(87% 0.085 321.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5DA98

    #D5DA98

    oklch(86.9% 0.086 111.7)

  • #9FDEFF

    #9FDEFF

    oklch(86.9% 0.078 231.6)

  • #FFBEDA

    #FFBEDA

    oklch(86.9% 0.082 351.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5DA98

    #D5DA98

    oklch(86.9% 0.086 111.7)

  • #8CE5EC

    #8CE5EC

    oklch(86.8% 0.086 202.1)

  • #D4CCFF

    #D4CCFF

    oklch(86.8% 0.07 292.1)

  • #FFC2BF

    #FFC2BF

    oklch(86.8% 0.07 21.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D5DA98, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D5DA98 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.