#9E8A52

Closest named color: Dark Sand (#A88F59). oklch(63.9% 0.079 90.4), rgb(158, 138, 82).

Aa

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

About this color

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

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

Values

HEX#9E8A52
RGBrgb(158, 138, 82)
HSLhsl(44, 32%, 47%)
OKLCHoklch(63.9% 0.079 90.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 #9E8A52 3.38:1 AA large text Lc -66.7 Content text, not long reading
Black text on #9E8A52 6.21:1 AA Lc 42.8 Non-text elements, placeholder text
#9E8A52 text on white 3.38:1 AA large text Lc 61.2 Content text, not long reading
#9E8A52 text on black 6.21:1 AA Lc -40.5 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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDEAE2

    oklch(93.7% 0.011 89.7)

  3. Step 200

    200

    #DED9CA

    oklch(88.5% 0.021 91.6)

  4. Step 300

    300

    #CAC0A5

    oklch(80.9% 0.038 90.1)

  5. Step 400

    400

    #AFA074

    oklch(70.8% 0.062 91.5)

  6. Step 500

    500 (this color)

    #9E8A52

    oklch(63.9% 0.079 90.4)

  7. Step 600

    600

    #867133

    oklch(55.5% 0.085 90.7)

  8. Step 700

    700

    #725F25

    oklch(49.2% 0.08 91)

  9. Step 800

    800

    #5D4D20

    oklch(42.6% 0.066 89.8)

  10. Step 900

    900

    #4C4020

    oklch(37.6% 0.051 89.3)

  11. Step 950

    950

    #2C2613

    oklch(27% 0.033 92.5)

Export this scale for Tailwind in the Tailwind colors tool

#9E8A52 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)#95884E0.017
Deuteranopia (no green cones)#9A8E540.012
Tritanopia (no blue cones)#A9827C0.071
Achromatopsia (no color)#8C8C8C0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8A52

    #9E8A52

    oklch(63.9% 0.079 90.4)

  • #798ABC

    #798ABC

    oklch(63.9% 0.078 269.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8A52

    #9E8A52

    oklch(63.9% 0.079 90.4)

  • #AF815A

    #AF815A

    oklch(63.9% 0.078 61)

  • #85935C

    #85935C

    oklch(63.8% 0.078 120.3)

Open the analogous palette in the generator

Split complementary

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

  • #9E8A52

    #9E8A52

    oklch(63.9% 0.079 90.4)

  • #5E92B7

    #5E92B7

    oklch(63.8% 0.079 240.6)

  • #9381B5

    #9381B5

    oklch(63.9% 0.079 300.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8A52

    #9E8A52

    oklch(63.9% 0.079 90.4)

  • #4B99A6

    #4B99A6

    oklch(63.9% 0.079 209.7)

  • #A87AA2

    #A87AA2

    oklch(63.8% 0.079 331)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8A52

    #9E8A52

    oklch(63.9% 0.079 90.4)

  • #509C8E

    #509C8E

    oklch(64% 0.079 180.2)

  • #798ABC

    #798ABC

    oklch(63.9% 0.078 269.6)

  • #B47889

    #B47889

    oklch(63.9% 0.078 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 #9E8A52, closest first.

Similar named colors

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

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