#9C8D52

Closest named color: Dark Sand (#A88F59). oklch(64.3% 0.081 95.5), rgb(156, 141, 82).

Aa

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

About this color

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

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

Values

HEX#9C8D52
RGBrgb(156, 141, 82)
HSLhsl(48, 31%, 47%)
OKLCHoklch(64.3% 0.081 95.5)

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 #9C8D52 3.30:1 AA large text Lc -65.9 Content text, not long reading
Black text on #9C8D52 6.34:1 AA Lc 43.6 Non-text elements, placeholder text
#9C8D52 text on white 3.30:1 AA large text Lc 60.4 Content text, not long reading
#9C8D52 text on black 6.34:1 AA Lc -41.3 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9C9

    oklch(88.4% 0.022 95.3)

  4. Step 300

    300

    #C8C1A4

    oklch(80.9% 0.04 95.9)

  5. Step 400

    400

    #ACA173

    oklch(70.7% 0.064 96.3)

  6. Step 500

    500 (this color)

    #9C8D52

    oklch(64.3% 0.081 95.5)

  7. Step 600

    600

    #837331

    oklch(55.7% 0.088 95.8)

  8. Step 700

    700

    #6F6023

    oklch(49.1% 0.082 95.3)

  9. Step 800

    800

    #5A4F1F

    oklch(42.8% 0.068 96.5)

  10. Step 900

    900

    #4A411F

    oklch(37.6% 0.052 94.9)

  11. Step 950

    950

    #2B2613

    oklch(26.9% 0.033 95.1)

Export this scale for Tailwind in the Tailwind colors tool

#9C8D52 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)#988A4D0.011
Deuteranopia (no green cones)#9C8F540.005
Tritanopia (no blue cones)#A6857F0.074
Achromatopsia (no color)#8D8D8D0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C8D52

    #9C8D52

    oklch(64.3% 0.081 95.5)

  • #7F89BE

    #7F89BE

    oklch(64.3% 0.08 275.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C8D52

    #9C8D52

    oklch(64.3% 0.081 95.5)

  • #AF8357

    #AF8357

    oklch(64.3% 0.081 65.6)

  • #81965F

    #81965F

    oklch(64.3% 0.081 125.6)

Open the analogous palette in the generator

Split complementary

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

  • #9C8D52

    #9C8D52

    oklch(64.3% 0.081 95.5)

  • #6392BB

    #6392BB

    oklch(64.3% 0.08 245.8)

  • #9981B5

    #9981B5

    oklch(64.4% 0.081 305.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C8D52

    #9C8D52

    oklch(64.3% 0.081 95.5)

  • #4C9AAC

    #4C9AAC

    oklch(64.4% 0.081 214.8)

  • #AC7AA0

    #AC7AA0

    oklch(64.2% 0.081 335.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C8D52

    #9C8D52

    oklch(64.3% 0.081 95.5)

  • #4C9D94

    #4C9D94

    oklch(64.3% 0.081 185.8)

  • #7F89BE

    #7F89BE

    oklch(64.3% 0.08 275.7)

  • #B87886

    #B87886

    oklch(64.3% 0.082 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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