#9B8A4E

Closest named color: Dark Sand (#A88F59). oklch(63.5% 0.082 94), rgb(155, 138, 78).

Aa

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

About this color

#9B8A4E is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.082 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.028 away. Black text reads best on it, at 6.13:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.13:1
White text3.42:1

Values

HEX#9B8A4E
RGBrgb(155, 138, 78)
HSLhsl(47, 33%, 46%)
OKLCHoklch(63.5% 0.082 94)

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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DED9C9

    oklch(88.5% 0.022 92.5)

  4. Step 300

    300

    #C9C1A4

    oklch(81% 0.04 94.4)

  5. Step 400

    400

    #AEA072

    oklch(70.6% 0.065 93.2)

  6. Step 500

    500 (this color)

    #9B8A4E

    oklch(63.5% 0.082 94)

  7. Step 600

    600

    #85722F

    oklch(55.6% 0.089 93.4)

  8. Step 700

    700

    #706021

    oklch(49.2% 0.084 94.8)

  9. Step 800

    800

    #5B4E1E

    oklch(42.6% 0.068 94.1)

  10. Step 900

    900

    #4B411E

    oklch(37.7% 0.054 93.7)

  11. Step 950

    950

    #2C2612

    oklch(27% 0.034 93.2)

Export this scale for Tailwind in the Tailwind colors tool

#9B8A4E 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)#9588490.013
Deuteranopia (no green cones)#9A8D500.008
Tritanopia (no blue cones)#A5827C0.075
Achromatopsia (no color)#8B8B8B0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B8A4E

    #9B8A4E

    oklch(63.5% 0.082 94)

  • #7B87BD

    #7B87BD

    oklch(63.5% 0.083 274.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B8A4E

    #9B8A4E

    oklch(63.5% 0.082 94)

  • #AE8054

    #AE8054

    oklch(63.5% 0.083 64.2)

  • #80935B

    #80935B

    oklch(63.4% 0.082 124)

Open the analogous palette in the generator

Split complementary

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

  • #9B8A4E

    #9B8A4E

    oklch(63.5% 0.082 94)

  • #5E90B9

    #5E90B9

    oklch(63.4% 0.082 244.3)

  • #957EB4

    #957EB4

    oklch(63.4% 0.083 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B8A4E

    #9B8A4E

    oklch(63.5% 0.082 94)

  • #4798A9

    #4798A9

    oklch(63.6% 0.082 213.4)

  • #AA789F

    #AA789F

    oklch(63.6% 0.082 334.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B8A4E

    #9B8A4E

    oklch(63.5% 0.082 94)

  • #499B90

    #499B90

    oklch(63.5% 0.082 183.8)

  • #7B87BD

    #7B87BD

    oklch(63.5% 0.083 274.2)

  • #B57585

    #B57585

    oklch(63.4% 0.083 3.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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