#D8CA86

Closest named color: Sand (#E2CA76). oklch(83.5% 0.089 98), rgb(216, 202, 134).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text12.71:1
White text1.65:1

Values

HEX#D8CA86
RGBrgb(216, 202, 134)
HSLhsl(50, 51%, 69%)
OKLCHoklch(83.5% 0.089 98)

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 #D8CA86 1.65:1 Fails Lc -32.5 Non-text elements, placeholder text
Black text on #D8CA86 12.71:1 AAA Lc 75.0 Fine for body text
#D8CA86 text on white 1.65:1 Fails Lc 28.8 Dividers and decoration only
#D8CA86 text on black 12.71:1 AAA Lc -74.1 Content text, not long reading

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

    #EEEAD7

    oklch(93.5% 0.026 97.1)

  3. Step 200

    200

    #E1DAB5

    oklch(88.4% 0.05 98.4)

  4. Step 300

    300 (this color)

    #D8CA86

    oklch(83.5% 0.089 98)

  5. Step 400

    400

    #B8A014

    oklch(70.6% 0.142 98)

  6. Step 500

    500

    #9F8900

    oklch(63.1% 0.13 97.8)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706000

    oklch(49% 0.101 97.8)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8CA86 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)#D7C6810.011
Deuteranopia (no green cones)#DBCC890.007
Tritanopia (no blue cones)#E4C1B90.081
Achromatopsia (no color)#C9C9C90.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8CA86

    #D8CA86

    oklch(83.5% 0.089 98)

  • #BCC4FF

    #BCC4FF

    oklch(83.5% 0.083 278.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8CA86

    #D8CA86

    oklch(83.5% 0.089 98)

  • #F0BE8A

    #F0BE8A

    oklch(83.4% 0.089 67.2)

  • #B8D496

    #B8D496

    oklch(83.4% 0.088 127.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8CA86

    #D8CA86

    oklch(83.5% 0.089 98)

  • #9CCEFF

    #9CCEFF

    oklch(83.4% 0.087 248.4)

  • #D9BAF6

    #D9BAF6

    oklch(83.5% 0.089 308)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8CA86

    #D8CA86

    oklch(83.5% 0.089 98)

  • #83D7EF

    #83D7EF

    oklch(83.4% 0.088 218.1)

  • #F0B3DD

    #F0B3DD

    oklch(83.5% 0.089 338.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8CA86

    #D8CA86

    oklch(83.5% 0.089 98)

  • #81DCD3

    #81DCD3

    oklch(83.5% 0.089 187.5)

  • #BCC4FF

    #BCC4FF

    oklch(83.5% 0.083 278.4)

  • #FCB1BE

    #FCB1BE

    oklch(83.5% 0.089 7.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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