#D5DC98

Closest named color: Vanilla (#E9D8A6). oklch(87.3% 0.089 113), rgb(213, 220, 152).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameVanilla (#E9D8A6)
Black text14.51:1
White text1.44:1

Values

HEX#D5DC98
RGBrgb(213, 220, 152)
HSLhsl(66, 49%, 73%)
OKLCHoklch(87.3% 0.089 113)

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 #D5DC98 1.44:1 Fails Lc -24.2 Dividers and decoration only
Black text on #D5DC98 14.51:1 AAA Lc 82.4 Fine for body text
#D5DC98 text on white 1.44:1 Fails Lc 21.3 Dividers and decoration only
#D5DC98 text on black 14.51:1 AAA Lc -82.1 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

    #E9EDD4

    oklch(93.6% 0.033 114.4)

  3. Step 200

    200 (this color)

    #D5DC98

    oklch(87.3% 0.089 113)

  4. Step 300

    300

    #C1C96F

    oklch(81% 0.114 113.1)

  5. Step 400

    400

    #A2AA00

    oklch(70.8% 0.158 113.1)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#D5DC98 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)#E6D6930.026
Deuteranopia (no green cones)#E6D79B0.027
Tritanopia (no blue cones)#DDD4CA0.077
Achromatopsia (no color)#D7D7D70.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5DC98

    #D5DC98

    oklch(87.3% 0.089 113)

  • #D6CEFF

    #D6CEFF

    oklch(87.4% 0.068 292.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5DC98

    #D5DC98

    oklch(87.3% 0.089 113)

  • #F2D191

    #F2D191

    oklch(87.4% 0.089 83.4)

  • #B3E5B0

    #B3E5B0

    oklch(87.3% 0.089 143.3)

Open the analogous palette in the generator

Split complementary

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

  • #D5DC98

    #D5DC98

    oklch(87.3% 0.089 113)

  • #C0D6FF

    #C0D6FF

    oklch(87.3% 0.062 262.9)

  • #F2C2F7

    #F2C2F7

    oklch(87.3% 0.088 323.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5DC98

    #D5DC98

    oklch(87.3% 0.089 113)

  • #A4DEFF

    #A4DEFF

    oklch(87.2% 0.075 233.7)

  • #FFC1DA

    #FFC1DA

    oklch(87.4% 0.077 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5DC98

    #D5DC98

    oklch(87.3% 0.089 113)

  • #8BE7EF

    #8BE7EF

    oklch(87.3% 0.089 202.8)

  • #D6CEFF

    #D6CEFF

    oklch(87.4% 0.068 292.4)

  • #FFC4C1

    #FFC4C1

    oklch(87.2% 0.068 21.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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