#D9C582

Closest named color: Sand (#E2CA76). oklch(82.5% 0.089 93.4), rgb(217, 197, 130).

Aa

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

About this color

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

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

Values

HEX#D9C582
RGBrgb(217, 197, 130)
HSLhsl(46, 53%, 68%)
OKLCHoklch(82.5% 0.089 93.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 #D9C582 1.71:1 Fails Lc -34.6 Non-text elements, placeholder text
Black text on #D9C582 12.25:1 AAA Lc 73.1 Content text, not long reading
#D9C582 text on white 1.71:1 Fails Lc 30.8 Non-text elements, placeholder text
#D9C582 text on black 12.25:1 AAA Lc -72.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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #EFEAD7

    oklch(93.6% 0.026 94.7)

  3. Step 200

    200

    #E4D9B5

    oklch(88.5% 0.049 93)

  4. Step 300

    300 (this color)

    #D9C582

    oklch(82.5% 0.089 93.4)

  5. Step 400

    400

    #BF9D0E

    oklch(70.7% 0.142 93)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#D9C582 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)#D2C27D0.014
Deuteranopia (no green cones)#D8C8840.007
Tritanopia (no blue cones)#E6BBB40.081
Achromatopsia (no color)#C6C6C60.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9C582

    #D9C582

    oklch(82.5% 0.089 93.4)

  • #B3C2FF

    #B3C2FF

    oklch(82.4% 0.088 273.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9C582

    #D9C582

    oklch(82.5% 0.089 93.4)

  • #EFBA89

    #EFBA89

    oklch(82.6% 0.089 63.9)

  • #BAD08F

    #BAD08F

    oklch(82.5% 0.09 123.5)

Open the analogous palette in the generator

Split complementary

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

  • #D9C582

    #D9C582

    oklch(82.5% 0.089 93.4)

  • #93CDFB

    #93CDFB

    oklch(82.5% 0.088 243)

  • #D1B8F6

    #D1B8F6

    oklch(82.5% 0.089 302.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9C582

    #D9C582

    oklch(82.5% 0.089 93.4)

  • #7DD5E8

    #7DD5E8

    oklch(82.4% 0.089 213.1)

  • #E9B1DE

    #E9B1DE

    oklch(82.5% 0.087 333.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9C582

    #D9C582

    oklch(82.5% 0.089 93.4)

  • #7FD9CB

    #7FD9CB

    oklch(82.5% 0.089 183)

  • #B3C2FF

    #B3C2FF

    oklch(82.4% 0.088 273.6)

  • #F8AEC0

    #F8AEC0

    oklch(82.6% 0.089 3.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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