#9E8A4F

Closest named color: Dark Sand (#A88F59). oklch(63.8% 0.082 91.2), rgb(158, 138, 79).

Aa

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

About this color

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

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

Values

HEX#9E8A4F
RGBrgb(158, 138, 79)
HSLhsl(45, 33%, 46%)
OKLCHoklch(63.8% 0.082 91.2)

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 #9E8A4F 3.38:1 AA large text Lc -66.8 Content text, not long reading
Black text on #9E8A4F 6.20:1 AA Lc 42.8 Non-text elements, placeholder text
#9E8A4F text on white 3.38:1 AA large text Lc 61.3 Content text, not long reading
#9E8A4F text on black 6.20:1 AA Lc -40.4 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

    #EDEAE1

    oklch(93.7% 0.012 91.5)

  3. Step 200

    200

    #DED9C9

    oklch(88.5% 0.022 92.5)

  4. Step 300

    300

    #CAC0A4

    oklch(80.9% 0.04 90.7)

  5. Step 400

    400

    #AFA072

    oklch(70.7% 0.065 92.1)

  6. Step 500

    500 (this color)

    #9E8A4F

    oklch(63.8% 0.082 91.2)

  7. Step 600

    600

    #87712F

    oklch(55.6% 0.089 90.8)

  8. Step 700

    700

    #725F21

    oklch(49.2% 0.083 91.8)

  9. Step 800

    800

    #5D4D1E

    oklch(42.6% 0.068 90.4)

  10. Step 900

    900

    #4C411E

    oklch(37.8% 0.054 92.2)

  11. Step 950

    950

    #2D2612

    oklch(27.1% 0.035 90.7)

Export this scale for Tailwind in the Tailwind colors tool

#9E8A4F 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)#96884A0.015
Deuteranopia (no green cones)#9B8E510.011
Tritanopia (no blue cones)#A9817C0.076
Achromatopsia (no color)#8B8B8B0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8A4F

    #9E8A4F

    oklch(63.8% 0.082 91.2)

  • #7989BE

    #7989BE

    oklch(63.8% 0.082 271)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8A4F

    #9E8A4F

    oklch(63.8% 0.082 91.2)

  • #B08057

    #B08057

    oklch(63.8% 0.082 61.1)

  • #84945A

    #84945A

    oklch(63.9% 0.083 121.3)

Open the analogous palette in the generator

Split complementary

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

  • #9E8A4F

    #9E8A4F

    oklch(63.8% 0.082 91.2)

  • #5C92B9

    #5C92B9

    oklch(63.8% 0.082 241.1)

  • #9480B6

    #9480B6

    oklch(63.8% 0.082 301.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8A4F

    #9E8A4F

    oklch(63.8% 0.082 91.2)

  • #4799A8

    #4799A8

    oklch(63.8% 0.082 211.2)

  • #A979A2

    #A979A2

    oklch(63.8% 0.082 331.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8A4F

    #9E8A4F

    oklch(63.8% 0.082 91.2)

  • #4C9C8F

    #4C9C8F

    oklch(63.8% 0.081 181.6)

  • #7989BE

    #7989BE

    oklch(63.8% 0.082 271)

  • #B57688

    #B57688

    oklch(63.7% 0.082 1.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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