#9D8A42

Closest named color: Dark Tan (#AF884A). oklch(63.5% 0.095 94.8), rgb(157, 138, 66).

Aa

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

About this color

#9D8A42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.095 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Tan (#AF884A), ΔE 0.032 away. Black text reads best on it, at 6.14:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameDark Tan (#AF884A)
Black text6.14:1
White text3.41:1

Values

HEX#9D8A42
RGBrgb(157, 138, 66)
HSLhsl(47, 41%, 44%)
OKLCHoklch(63.5% 0.095 94.8)

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 #9D8A42 3.41:1 AA large text Lc -67.1 Content text, not long reading
Black text on #9D8A42 6.14:1 AA Lc 42.5 Non-text elements, placeholder text
#9D8A42 text on white 3.41:1 AA large text Lc 61.6 Content text, not long reading
#9D8A42 text on black 6.14:1 AA Lc -40.1 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

    #CAC19F

    oklch(80.9% 0.047 94.9)

  5. Step 400

    400

    #AFA06A

    oklch(70.6% 0.074 94.4)

  6. Step 500

    500 (this color)

    #9D8A42

    oklch(63.5% 0.095 94.8)

  7. Step 600

    600

    #87721D

    oklch(55.7% 0.103 94.4)

  8. Step 700

    700

    #725F0D

    oklch(49% 0.096 94.5)

  9. Step 800

    800

    #5D4E10

    oklch(42.7% 0.08 94.7)

  10. Step 900

    900

    #4C4116

    oklch(37.7% 0.062 94.8)

  11. Step 950

    950

    #2C260E

    oklch(26.9% 0.039 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D8A42 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)#97873B0.014
Deuteranopia (no green cones)#9C8D450.008
Tritanopia (no blue cones)#A8817A0.086
Achromatopsia (no color)#8B8B8B0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D8A42

    #9D8A42

    oklch(63.5% 0.095 94.8)

  • #7A86C4

    #7A86C4

    oklch(63.5% 0.094 275)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D8A42

    #9D8A42

    oklch(63.5% 0.095 94.8)

  • #B37E4A

    #B37E4A

    oklch(63.5% 0.095 64.1)

  • #7E9553

    #7E9553

    oklch(63.6% 0.095 124.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D8A42

    #9D8A42

    oklch(63.5% 0.095 94.8)

  • #5691C1

    #5691C1

    oklch(63.6% 0.095 244.6)

  • #987CB9

    #987CB9

    oklch(63.6% 0.094 304.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D8A42

    #9D8A42

    oklch(63.5% 0.095 94.8)

  • #3699AE

    #3699AE

    oklch(63.5% 0.095 214.6)

  • #AE74A2

    #AE74A2

    oklch(63.4% 0.095 334.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D8A42

    #9D8A42

    oklch(63.5% 0.095 94.8)

  • #369D92

    #369D92

    oklch(63.4% 0.095 185.1)

  • #7A86C4

    #7A86C4

    oklch(63.5% 0.094 275)

  • #BB7283

    #BB7283

    oklch(63.5% 0.094 5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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