#D7CF8A

Closest named color: Sand (#E2CA76). oklch(84.5% 0.089 102.4), rgb(215, 207, 138).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.18:1
White text1.59:1

Values

HEX#D7CF8A
RGBrgb(215, 207, 138)
HSLhsl(54, 49%, 69%)
OKLCHoklch(84.5% 0.089 102.4)

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 #D7CF8A 1.59:1 Fails Lc -30.3 Non-text elements, placeholder text
Black text on #D7CF8A 13.18:1 AAA Lc 77.0 Fine for body text
#D7CF8A text on white 1.59:1 Fails Lc 26.8 Dividers and decoration only
#D7CF8A text on black 13.18:1 AAA Lc -76.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 300.

  1. Step 50

    50

    #F7F6ED

    oklch(97.1% 0.012 101.5)

  2. Step 100

    100

    #EDEBD7

    oklch(93.6% 0.027 102.2)

  3. Step 200

    200

    #DFDBB6

    oklch(88.5% 0.049 102.2)

  4. Step 300

    300 (this color)

    #D7CF8A

    oklch(84.5% 0.089 102.4)

  5. Step 400

    400

    #B2A319

    oklch(70.7% 0.143 102.5)

  6. Step 500

    500

    #998C00

    oklch(63.2% 0.133 102.9)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7CF8A 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)#DBCA850.013
Deuteranopia (no green cones)#DECF8D0.011
Tritanopia (no blue cones)#E2C6BD0.080
Achromatopsia (no color)#CDCDCD0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7CF8A

    #D7CF8A

    oklch(84.5% 0.089 102.4)

  • #C4C6FF

    #C4C6FF

    oklch(84.4% 0.079 283)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7CF8A

    #D7CF8A

    oklch(84.5% 0.089 102.4)

  • #F1C38B

    #F1C38B

    oklch(84.5% 0.089 71.6)

  • #B6D99D

    #B6D99D

    oklch(84.5% 0.089 132.7)

Open the analogous palette in the generator

Split complementary

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

  • #D7CF8A

    #D7CF8A

    oklch(84.5% 0.089 102.4)

  • #A8D0FF

    #A8D0FF

    oklch(84.5% 0.079 252.8)

  • #E0BCF7

    #E0BCF7

    oklch(84.6% 0.089 312)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7CF8A

    #D7CF8A

    oklch(84.5% 0.089 102.4)

  • #88DAF6

    #88DAF6

    oklch(84.6% 0.089 221.8)

  • #F6B5DC

    #F6B5DC

    oklch(84.4% 0.09 342.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7CF8A

    #D7CF8A

    oklch(84.5% 0.089 102.4)

  • #82DFDC

    #82DFDC

    oklch(84.5% 0.089 192.9)

  • #C4C6FF

    #C4C6FF

    oklch(84.4% 0.079 283)

  • #FFB5BD

    #FFB5BD

    oklch(84.5% 0.087 11.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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