#9D8A3D

Closest named color: Dark Mustard (#A88905). oklch(63.5% 0.1 95.5), rgb(157, 138, 61).

Aa

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

About this color

#9D8A3D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.100 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.031 away. Black text reads best on it, at 6.13:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.13:1
White text3.42:1

Values

HEX#9D8A3D
RGBrgb(157, 138, 61)
HSLhsl(48, 44%, 43%)
OKLCHoklch(63.5% 0.1 95.5)

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 #9D8A3D 3.42:1 AA large text Lc -67.1 Content text, not long reading
Black text on #9D8A3D 6.13:1 AA Lc 42.4 Non-text elements, placeholder text
#9D8A3D text on white 3.42:1 AA large text Lc 61.7 Content text, not long reading
#9D8A3D text on black 6.13:1 AA Lc -40.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DED9C6

    oklch(88.4% 0.026 94.8)

  4. Step 300

    300

    #CAC19E

    oklch(80.9% 0.048 95.3)

  5. Step 400

    400

    #AFA167

    oklch(70.7% 0.079 96.2)

  6. Step 500

    500 (this color)

    #9D8A3D

    oklch(63.5% 0.1 95.5)

  7. Step 600

    600

    #877213

    oklch(55.6% 0.108 95.3)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5D4E09

    oklch(42.7% 0.083 95.5)

  10. Step 900

    900

    #4C4113

    oklch(37.7% 0.065 95.6)

  11. Step 950

    950

    #2D260D

    oklch(27% 0.041 93.9)

Export this scale for Tailwind in the Tailwind colors tool

#9D8A3D 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)#9787350.015
Deuteranopia (no green cones)#9C8D410.008
Tritanopia (no blue cones)#A980790.092
Achromatopsia (no color)#8B8B8B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8A3D

    #9D8A3D

    oklch(63.5% 0.1 95.5)

  • #7A85C7

    #7A85C7

    oklch(63.5% 0.1 275.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8A3D

    #9D8A3D

    oklch(63.5% 0.1 95.5)

  • #B47E45

    #B47E45

    oklch(63.6% 0.1 65.8)

  • #7C9550

    #7C9550

    oklch(63.4% 0.099 125.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D8A3D

    #9D8A3D

    oklch(63.5% 0.1 95.5)

  • #5490C3

    #5490C3

    oklch(63.4% 0.099 245.9)

  • #997BBB

    #997BBB

    oklch(63.6% 0.099 305.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8A3D

    #9D8A3D

    oklch(63.5% 0.1 95.5)

  • #2E99B1

    #2E99B1

    oklch(63.4% 0.1 216.3)

  • #B073A2

    #B073A2

    oklch(63.5% 0.099 335.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8A3D

    #9D8A3D

    oklch(63.5% 0.1 95.5)

  • #2D9E93

    #2D9E93

    oklch(63.5% 0.1 185.5)

  • #7A85C7

    #7A85C7

    oklch(63.5% 0.1 275.9)

  • #BD7082

    #BD7082

    oklch(63.4% 0.099 5.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9D8A3D 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.