#9A8C45

Closest named color: Dark Sand (#A88F59). oklch(63.7% 0.093 98.4), rgb(154, 140, 69).

Aa

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

About this color

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

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

Values

HEX#9A8C45
RGBrgb(154, 140, 69)
HSLhsl(50, 38%, 44%)
OKLCHoklch(63.7% 0.093 98.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 #9A8C45 3.38:1 AA large text Lc -66.7 Content text, not long reading
Black text on #9A8C45 6.21:1 AA Lc 42.8 Non-text elements, placeholder text
#9A8C45 text on white 3.38:1 AA large text Lc 61.2 Content text, not long reading
#9A8C45 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

    #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

    #C8C2A0

    oklch(81% 0.046 99)

  5. Step 400

    400

    #ACA26C

    oklch(70.8% 0.073 99)

  6. Step 500

    500 (this color)

    #9A8C45

    oklch(63.7% 0.093 98.4)

  7. Step 600

    600

    #837421

    oklch(55.7% 0.102 98.7)

  8. Step 700

    700

    #6F6112

    oklch(49.2% 0.095 98.4)

  9. Step 800

    800

    #5A4F13

    oklch(42.7% 0.078 98.5)

  10. Step 900

    900

    #4A4218

    oklch(37.8% 0.061 98.6)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#9A8C45 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)#98893E0.010
Deuteranopia (no green cones)#9C8E480.007
Tritanopia (no blue cones)#A5837C0.086
Achromatopsia (no color)#8C8C8C0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A8C45

    #9A8C45

    oklch(63.7% 0.093 98.4)

  • #7E85C4

    #7E85C4

    oklch(63.6% 0.095 278.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A8C45

    #9A8C45

    oklch(63.7% 0.093 98.4)

  • #B18049

    #B18049

    oklch(63.7% 0.094 67.9)

  • #7A9658

    #7A9658

    oklch(63.6% 0.092 128.6)

Open the analogous palette in the generator

Split complementary

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

  • #9A8C45

    #9A8C45

    oklch(63.7% 0.093 98.4)

  • #5C90C2

    #5C90C2

    oklch(63.7% 0.094 248.6)

  • #9B7CB7

    #9B7CB7

    oklch(63.8% 0.093 308)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A8C45

    #9A8C45

    oklch(63.7% 0.093 98.4)

  • #3C99B1

    #3C99B1

    oklch(63.8% 0.093 218)

  • #B1759F

    #B1759F

    oklch(63.8% 0.094 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A8C45

    #9A8C45

    oklch(63.7% 0.093 98.4)

  • #379D96

    #379D96

    oklch(63.6% 0.093 188.6)

  • #7E85C4

    #7E85C4

    oklch(63.6% 0.095 278.5)

  • #BC7380

    #BC7380

    oklch(63.8% 0.093 8.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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