#9C8A52

Closest named color: Dark Sand (#A88F59). oklch(63.7% 0.078 92.2), rgb(156, 138, 82).

Aa

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

About this color

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

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

Values

HEX#9C8A52
RGBrgb(156, 138, 82)
HSLhsl(45, 31%, 47%)
OKLCHoklch(63.7% 0.078 92.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 #9C8A52 3.40:1 AA large text Lc -67.0 Content text, not long reading
Black text on #9C8A52 6.17:1 AA Lc 42.6 Non-text elements, placeholder text
#9C8A52 text on white 3.40:1 AA large text Lc 61.5 Content text, not long reading
#9C8A52 text on black 6.17:1 AA Lc -40.2 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

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9CA

    oklch(88.5% 0.021 91.6)

  4. Step 300

    300

    #C9C0A5

    oklch(80.8% 0.038 91.7)

  5. Step 400

    400

    #AEA075

    oklch(70.7% 0.061 92.2)

  6. Step 500

    500 (this color)

    #9C8A52

    oklch(63.7% 0.078 92.2)

  7. Step 600

    600

    #857234

    oklch(55.7% 0.085 92.4)

  8. Step 700

    700

    #715F26

    oklch(49.1% 0.079 91.7)

  9. Step 800

    800

    #5C4E21

    oklch(42.8% 0.066 92.2)

  10. Step 900

    900

    #4B4120

    oklch(37.7% 0.051 92.9)

  11. Step 950

    950

    #2C2613

    oklch(27% 0.033 92.5)

Export this scale for Tailwind in the Tailwind colors tool

#9C8A52 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.014
Deuteranopia (no green cones)#9A8D540.008
Tritanopia (no blue cones)#A6827C0.070
Achromatopsia (no color)#8B8B8B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C8A52

    #9C8A52

    oklch(63.7% 0.078 92.2)

  • #7A88BB

    #7A88BB

    oklch(63.5% 0.079 272.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C8A52

    #9C8A52

    oklch(63.7% 0.078 92.2)

  • #AE8159

    #AE8159

    oklch(63.8% 0.078 62.3)

  • #83935D

    #83935D

    oklch(63.7% 0.078 122.1)

Open the analogous palette in the generator

Split complementary

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

  • #9C8A52

    #9C8A52

    oklch(63.7% 0.078 92.2)

  • #5F91B7

    #5F91B7

    oklch(63.6% 0.079 242.3)

  • #9480B3

    #9480B3

    oklch(63.7% 0.078 302.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C8A52

    #9C8A52

    oklch(63.7% 0.078 92.2)

  • #4C98A7

    #4C98A7

    oklch(63.7% 0.078 212.2)

  • #A87AA0

    #A87AA0

    oklch(63.8% 0.077 332.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C8A52

    #9C8A52

    oklch(63.7% 0.078 92.2)

  • #4F9B8F

    #4F9B8F

    oklch(63.7% 0.078 182.2)

  • #7A88BB

    #7A88BB

    oklch(63.5% 0.079 272.2)

  • #B37787

    #B37787

    oklch(63.6% 0.078 2.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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