#D1CD87

Closest named color: Greenish Beige (#C9D179). oklch(83.5% 0.09 105.4), rgb(209, 205, 135).

Aa

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

About this color

#D1CD87 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.090 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.025 away. Black text reads best on it, at 12.79:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text12.79:1
White text1.64:1

Values

HEX#D1CD87
RGBrgb(209, 205, 135)
HSLhsl(57, 45%, 67%)
OKLCHoklch(83.5% 0.09 105.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 #D1CD87 1.64:1 Fails Lc -32.1 Non-text elements, placeholder text
Black text on #D1CD87 12.79:1 AAA Lc 75.4 Fine for body text
#D1CD87 text on white 1.64:1 Fails Lc 28.5 Dividers and decoration only
#D1CD87 text on black 12.79:1 AAA Lc -74.4 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

    #F6F6ED

    oklch(97.1% 0.012 106.6)

  2. Step 100

    100

    #ECEBD8

    oklch(93.6% 0.025 104.4)

  3. Step 200

    200

    #DDDCB6

    oklch(88.6% 0.05 106.1)

  4. Step 300

    300 (this color)

    #D1CD87

    oklch(83.5% 0.09 105.4)

  5. Step 400

    400

    #AEA519

    oklch(70.7% 0.145 105.5)

  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

    #565100

    oklch(42.6% 0.091 105.5)

  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

#D1CD87 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)#D8C8820.015
Deuteranopia (no green cones)#DACC8A0.014
Tritanopia (no blue cones)#DBC4BB0.081
Achromatopsia (no color)#CACACA0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1CD87

    #D1CD87

    oklch(83.5% 0.09 105.4)

  • #C3C2FF

    #C3C2FF

    oklch(83.6% 0.085 285.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1CD87

    #D1CD87

    oklch(83.5% 0.09 105.4)

  • #ECC186

    #ECC186

    oklch(83.5% 0.09 74.8)

  • #AFD79C

    #AFD79C

    oklch(83.5% 0.09 135.8)

Open the analogous palette in the generator

Split complementary

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

  • #D1CD87

    #D1CD87

    oklch(83.5% 0.09 105.4)

  • #A5CCFF

    #A5CCFF

    oklch(83.5% 0.083 255.3)

  • #E0B8F2

    #E0B8F2

    oklch(83.6% 0.09 315.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1CD87

    #D1CD87

    oklch(83.5% 0.09 105.4)

  • #86D6F6

    #86D6F6

    oklch(83.6% 0.09 225.5)

  • #F5B2D6

    #F5B2D6

    oklch(83.6% 0.09 345.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1CD87

    #D1CD87

    oklch(83.5% 0.09 105.4)

  • #7DDCDC

    #7DDCDC

    oklch(83.6% 0.09 195.6)

  • #C3C2FF

    #C3C2FF

    oklch(83.6% 0.085 285.2)

  • #FEB1B6

    #FEB1B6

    oklch(83.5% 0.09 14.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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