#D9C341

Closest named color: Mustard Yellow (#D2BD0A). oklch(81.3% 0.146 99.4), rgb(217, 195, 65).

Aa

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

About this color

#D9C341 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.146 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.028 away. Black text reads best on it, at 11.83:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.146)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.83:1
White text1.77:1

Values

HEX#D9C341
RGBrgb(217, 195, 65)
HSLhsl(51, 67%, 55%)
OKLCHoklch(81.3% 0.146 99.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 #D9C341 1.77:1 Fails Lc -36.5 Non-text elements, placeholder text
Black text on #D9C341 11.83:1 AAA Lc 71.3 Content text, not long reading
#D9C341 text on white 1.77:1 Fails Lc 32.5 Non-text elements, placeholder text
#D9C341 text on black 11.83:1 AAA Lc -70.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

    #F8F6E7

    oklch(97.1% 0.02 100.6)

  2. Step 100

    100

    #F0EBCB

    oklch(93.6% 0.042 99.8)

  3. Step 200

    200

    #E6DB9C

    oklch(88.6% 0.082 99.4)

  4. Step 300

    300 (this color)

    #D9C341

    oklch(81.3% 0.146 99.4)

  5. Step 400

    400

    #B7A100

    oklch(70.7% 0.147 99.5)

  6. Step 500

    500

    #9D8A00

    oklch(63.1% 0.131 99.5)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  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

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#D9C341 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)#D6BE2D0.016
Deuteranopia (no green cones)#DCC6490.010
Tritanopia (no blue cones)#EAB5A90.134
Achromatopsia (no color)#C2C2C20.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9C341

    #D9C341

    oklch(81.3% 0.146 99.4)

  • #B5BCFF

    #B5BCFF

    oklch(81.4% 0.095 279.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9C341

    #D9C341

    oklch(81.3% 0.146 99.4)

  • #FEAF4A

    #FEAF4A

    oklch(81.3% 0.146 69.4)

  • #A3D469

    #A3D469

    oklch(81.2% 0.147 129.5)

Open the analogous palette in the generator

Split complementary

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

  • #D9C341

    #D9C341

    oklch(81.3% 0.146 99.4)

  • #90C7FF

    #90C7FF

    oklch(81.2% 0.098 249.6)

  • #DAABFF

    #DAABFF

    oklch(81.3% 0.125 309.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9C341

    #D9C341

    oklch(81.3% 0.146 99.4)

  • #2ED6FF

    #2ED6FF

    oklch(81.3% 0.139 219.5)

  • #FF9BE0

    #FF9BE0

    oklch(81.3% 0.145 339.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9C341

    #D9C341

    oklch(81.3% 0.146 99.4)

  • #00DED5

    #00DED5

    oklch(81.2% 0.14 189.6)

  • #B5BCFF

    #B5BCFF

    oklch(81.4% 0.095 279.4)

  • #FFA4B2

    #FFA4B2

    oklch(81.3% 0.109 9.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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