#D7DF8B

Closest named color: Sandy (#F1DA7A). oklch(87.9% 0.107 113), rgb(215, 223, 139).

Aa

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

About this color

#D7DF8B is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.107 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.036 away. Black text reads best on it, at 14.81:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameSandy (#F1DA7A)
Black text14.81:1
White text1.41:1

Values

HEX#D7DF8B
RGBrgb(215, 223, 139)
HSLhsl(66, 57%, 71%)
OKLCHoklch(87.9% 0.107 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 #D7DF8B 1.41:1 Fails Lc -22.9 Dividers and decoration only
Black text on #D7DF8B 14.81:1 AAA Lc 83.6 Fine for body text
#D7DF8B text on white 1.41:1 Fails Lc 20.1 Dividers and decoration only
#D7DF8B text on black 14.81:1 AAA Lc -83.3 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

    #F5F7E9

    oklch(97.1% 0.019 113.3)

  2. Step 100

    100

    #E9EDCF

    oklch(93.5% 0.04 113.3)

  3. Step 200

    200 (this color)

    #D7DF8B

    oklch(87.9% 0.107 113)

  4. Step 300

    300

    #C1CA58

    oklch(80.9% 0.138 113.2)

  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

#D7DF8B 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)#EBD8850.030
Deuteranopia (no green cones)#EADA8F0.030
Tritanopia (no blue cones)#E1D6CA0.093
Achromatopsia (no color)#D9D9D90.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7DF8B

    #D7DF8B

    oklch(87.9% 0.107 113)

  • #D8D0FF

    #D8D0FF

    oklch(87.9% 0.065 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7DF8B

    #D7DF8B

    oklch(87.9% 0.107 113)

  • #F9D183

    #F9D183

    oklch(87.8% 0.107 83.2)

  • #ADEAA9

    #ADEAA9

    oklch(87.9% 0.108 143.1)

Open the analogous palette in the generator

Split complementary

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

  • #D7DF8B

    #D7DF8B

    oklch(87.9% 0.107 113)

  • #C3D8FF

    #C3D8FF

    oklch(87.9% 0.059 262.8)

  • #F9C0FF

    #F9C0FF

    oklch(87.9% 0.104 323.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7DF8B

    #D7DF8B

    oklch(87.9% 0.107 113)

  • #A8E0FF

    #A8E0FF

    oklch(87.9% 0.072 232.9)

  • #FFC4DB

    #FFC4DB

    oklch(87.9% 0.073 353.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7DF8B

    #D7DF8B

    oklch(87.9% 0.107 113)

  • #77ECF6

    #77ECF6

    oklch(87.9% 0.107 202.8)

  • #D8D0FF

    #D8D0FF

    oklch(87.9% 0.065 292.8)

  • #FFC7C3

    #FFC7C3

    oklch(87.8% 0.064 23.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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