#D7D38F

Closest named color: Sand (#E2CA76). oklch(85.4% 0.088 105.2), rgb(215, 211, 143).

Aa

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

About this color

#D7D38F is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.088 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.031 away. Black text reads best on it, at 13.60:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.60:1
White text1.54:1

Values

HEX#D7D38F
RGBrgb(215, 211, 143)
HSLhsl(57, 47%, 70%)
OKLCHoklch(85.4% 0.088 105.2)

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 #D7D38F 1.54:1 Fails Lc -28.3 Dividers and decoration only
Black text on #D7D38F 13.60:1 AAA Lc 78.7 Fine for body text
#D7D38F text on white 1.54:1 Fails Lc 25.0 Dividers and decoration only
#D7D38F text on black 13.60:1 AAA Lc -78.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

    #F7F6EB

    oklch(97.1% 0.015 102.5)

  2. Step 100

    100

    #EDECD3

    oklch(93.7% 0.033 105.1)

  3. Step 200

    200 (this color)

    #D7D38F

    oklch(85.4% 0.088 105.2)

  4. Step 300

    300

    #CBC56B

    oklch(80.9% 0.113 105.3)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#D7D38F 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)#DECE8A0.014
Deuteranopia (no green cones)#E0D2920.014
Tritanopia (no blue cones)#E1CAC20.080
Achromatopsia (no color)#D0D0D00.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7D38F

    #D7D38F

    oklch(85.4% 0.088 105.2)

  • #CAC9FF

    #CAC9FF

    oklch(85.5% 0.075 285.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7D38F

    #D7D38F

    oklch(85.4% 0.088 105.2)

  • #F1C88E

    #F1C88E

    oklch(85.5% 0.088 75.8)

  • #B6DDA3

    #B6DDA3

    oklch(85.5% 0.088 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #D7D38F

    #D7D38F

    oklch(85.4% 0.088 105.2)

  • #B0D2FF

    #B0D2FF

    oklch(85.4% 0.073 255.6)

  • #E5BEF7

    #E5BEF7

    oklch(85.4% 0.088 315)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7D38F

    #D7D38F

    oklch(85.4% 0.088 105.2)

  • #8EDCFB

    #8EDCFB

    oklch(85.5% 0.088 225.2)

  • #FAB8DC

    #FAB8DC

    oklch(85.4% 0.089 345.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7D38F

    #D7D38F

    oklch(85.4% 0.088 105.2)

  • #86E2E1

    #86E2E1

    oklch(85.5% 0.088 194.7)

  • #CAC9FF

    #CAC9FF

    oklch(85.5% 0.075 285.6)

  • #FFBABE

    #FFBABE

    oklch(85.4% 0.08 15)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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