#9C8D45

Closest named color: Dark Sand (#A88F59). oklch(64.1% 0.095 97.8), rgb(156, 141, 69).

Aa

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

About this color

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

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

Values

HEX#9C8D45
RGBrgb(156, 141, 69)
HSLhsl(50, 39%, 44%)
OKLCHoklch(64.1% 0.095 97.8)

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 #9C8D45 3.32:1 AA large text Lc -66.1 Content text, not long reading
Black text on #9C8D45 6.30:1 AA Lc 43.4 Non-text elements, placeholder text
#9C8D45 text on white 3.32:1 AA large text Lc 60.6 Content text, not long reading
#9C8D45 text on black 6.30:1 AA Lc -41.1 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

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C1A0

    oklch(80.8% 0.045 97.4)

  5. Step 400

    400

    #ADA16B

    oklch(70.6% 0.074 97.2)

  6. Step 500

    500 (this color)

    #9C8D45

    oklch(64.1% 0.095 97.8)

  7. Step 600

    600

    #84731F

    oklch(55.6% 0.102 97.3)

  8. Step 700

    700

    #6F6110

    oklch(49.2% 0.096 98.6)

  9. Step 800

    800

    #5B4F12

    oklch(42.8% 0.079 97.6)

  10. Step 900

    900

    #4A4217

    oklch(37.7% 0.062 98.8)

  11. Step 950

    950

    #2C270F

    oklch(27.2% 0.039 97.8)

Export this scale for Tailwind in the Tailwind colors tool

#9C8D45 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)#998A3E0.011
Deuteranopia (no green cones)#9D8F480.006
Tritanopia (no blue cones)#A7847D0.087
Achromatopsia (no color)#8D8D8D0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C8D45

    #9C8D45

    oklch(64.1% 0.095 97.8)

  • #7F87C6

    #7F87C6

    oklch(64.2% 0.095 277.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C8D45

    #9C8D45

    oklch(64.1% 0.095 97.8)

  • #B3814A

    #B3814A

    oklch(64.1% 0.095 67.4)

  • #7C9857

    #7C9857

    oklch(64.2% 0.096 127.9)

Open the analogous palette in the generator

Split complementary

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

  • #9C8D45

    #9C8D45

    oklch(64.1% 0.095 97.8)

  • #5C91C3

    #5C91C3

    oklch(64% 0.094 248.1)

  • #9C7DB9

    #9C7DB9

    oklch(64.1% 0.094 307.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C8D45

    #9C8D45

    oklch(64.1% 0.095 97.8)

  • #3B9AB3

    #3B9AB3

    oklch(64.1% 0.095 218.5)

  • #B276A1

    #B276A1

    oklch(64.2% 0.094 337.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C8D45

    #9C8D45

    oklch(64.1% 0.095 97.8)

  • #379F97

    #379F97

    oklch(64.1% 0.095 187.8)

  • #7F87C6

    #7F87C6

    oklch(64.2% 0.095 277.8)

  • #BE7482

    #BE7482

    oklch(64.2% 0.094 7.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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