#D8CA84

Closest named color: Sand (#E2CA76). oklch(83.5% 0.091 98.3), rgb(216, 202, 132).

Aa

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

About this color

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

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

Values

HEX#D8CA84
RGBrgb(216, 202, 132)
HSLhsl(50, 52%, 68%)
OKLCHoklch(83.5% 0.091 98.3)

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 #D8CA84 1.65:1 Fails Lc -32.5 Non-text elements, placeholder text
Black text on #D8CA84 12.70:1 AAA Lc 75.0 Content text, not long reading
#D8CA84 text on white 1.65:1 Fails Lc 28.8 Dividers and decoration only
#D8CA84 text on black 12.70:1 AAA Lc -74.0 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

    #E1DAB4

    oklch(88.4% 0.051 98.7)

  4. Step 300

    300 (this color)

    #D8CA84

    oklch(83.5% 0.091 98.3)

  5. Step 400

    400

    #B9A003

    oklch(70.7% 0.145 97.9)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  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

#D8CA84 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)#D7C67F0.011
Deuteranopia (no green cones)#DBCB870.006
Tritanopia (no blue cones)#E4C0B80.083
Achromatopsia (no color)#C9C9C90.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8CA84

    #D8CA84

    oklch(83.5% 0.091 98.3)

  • #BCC4FF

    #BCC4FF

    oklch(83.5% 0.083 278.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8CA84

    #D8CA84

    oklch(83.5% 0.091 98.3)

  • #F0BE88

    #F0BE88

    oklch(83.4% 0.09 68.2)

  • #B7D595

    #B7D595

    oklch(83.5% 0.091 128.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8CA84

    #D8CA84

    oklch(83.5% 0.091 98.3)

  • #9CCEFF

    #9CCEFF

    oklch(83.4% 0.087 248.4)

  • #D9B9F7

    #D9B9F7

    oklch(83.4% 0.091 307.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8CA84

    #D8CA84

    oklch(83.5% 0.091 98.3)

  • #80D8F1

    #80D8F1

    oklch(83.6% 0.092 218.1)

  • #F1B2DD

    #F1B2DD

    oklch(83.5% 0.091 338.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8CA84

    #D8CA84

    oklch(83.5% 0.091 98.3)

  • #7EDCD4

    #7EDCD4

    oklch(83.4% 0.091 188.5)

  • #BCC4FF

    #BCC4FF

    oklch(83.5% 0.083 278.4)

  • #FDB0BD

    #FDB0BD

    oklch(83.4% 0.091 8.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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