#D2C581

Closest named color: Sand (#E2CA76). oklch(81.9% 0.089 98.7), rgb(210, 197, 129).

Aa

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

About this color

#D2C581 is a light, moderately saturated yellow. In OKLCH its lightness is 82%, its chroma 0.089 and its hue 99°. 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 12.04:1.

Hue familyYellows
Lightnesslight (82%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text12.04:1
White text1.74:1

Values

HEX#D2C581
RGBrgb(210, 197, 129)
HSLhsl(50, 47%, 66%)
OKLCHoklch(81.9% 0.089 98.7)

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 #D2C581 1.74:1 Fails Lc -35.6 Non-text elements, placeholder text
Black text on #D2C581 12.04:1 AAA Lc 72.1 Content text, not long reading
#D2C581 text on white 1.74:1 Fails Lc 31.7 Non-text elements, placeholder text
#D2C581 text on black 12.04:1 AAA Lc -71.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

    #E1DAB5

    oklch(88.4% 0.05 98.4)

  4. Step 300

    300 (this color)

    #D2C581

    oklch(81.9% 0.089 98.7)

  5. Step 400

    400

    #B7A115

    oklch(70.7% 0.142 99)

  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

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#D2C581 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)#D1C17C0.011
Deuteranopia (no green cones)#D5C6840.006
Tritanopia (no blue cones)#DEBCB40.081
Achromatopsia (no color)#C4C4C40.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2C581

    #D2C581

    oklch(81.9% 0.089 98.7)

  • #B6BEFD

    #B6BEFD

    oklch(81.8% 0.089 278.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2C581

    #D2C581

    oklch(81.9% 0.089 98.7)

  • #EAB984

    #EAB984

    oklch(81.8% 0.089 68.3)

  • #B2CF91

    #B2CF91

    oklch(81.8% 0.089 128.6)

Open the analogous palette in the generator

Split complementary

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

  • #D2C581

    #D2C581

    oklch(81.9% 0.089 98.7)

  • #96C9FB

    #96C9FB

    oklch(81.8% 0.089 248.5)

  • #D4B4F0

    #D4B4F0

    oklch(81.8% 0.089 308.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2C581

    #D2C581

    oklch(81.9% 0.089 98.7)

  • #7ED2EB

    #7ED2EB

    oklch(81.9% 0.089 219)

  • #EBAED7

    #EBAED7

    oklch(82% 0.088 339.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2C581

    #D2C581

    oklch(81.9% 0.089 98.7)

  • #7BD7CF

    #7BD7CF

    oklch(82% 0.089 188.4)

  • #B6BEFD

    #B6BEFD

    oklch(81.8% 0.089 278.6)

  • #F7ACB8

    #F7ACB8

    oklch(81.9% 0.089 8.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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