#9A8D40

Closest named color: Dark Mustard (#A88905). oklch(63.9% 0.099 99.8), rgb(154, 141, 64).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.25:1
White text3.35:1

Values

HEX#9A8D40
RGBrgb(154, 141, 64)
HSLhsl(51, 41%, 43%)
OKLCHoklch(63.9% 0.099 99.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 #9A8D40 3.35:1 AA large text Lc -66.4 Content text, not long reading
Black text on #9A8D40 6.25:1 AA Lc 43.1 Non-text elements, placeholder text
#9A8D40 text on white 3.35:1 AA large text Lc 60.9 Content text, not long reading
#9A8D40 text on black 6.25:1 AA Lc -40.8 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C8C29E

    oklch(81% 0.049 99.5)

  5. Step 400

    400

    #ACA269

    oklch(70.7% 0.077 99.5)

  6. Step 500

    500 (this color)

    #9A8D40

    oklch(63.9% 0.099 99.8)

  7. Step 600

    600

    #827417

    oklch(55.6% 0.108 100.1)

  8. Step 700

    700

    #6E6105

    oklch(49% 0.1 99.9)

  9. Step 800

    800

    #5A4F0C

    oklch(42.6% 0.083 99.2)

  10. Step 900

    900

    #4A4214

    oklch(37.7% 0.065 99.4)

  11. Step 950

    950

    #2B270D

    oklch(27% 0.042 100.7)

Export this scale for Tailwind in the Tailwind colors tool

#9A8D40 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)#9989380.012
Deuteranopia (no green cones)#9D8E440.007
Tritanopia (no blue cones)#A5847C0.091
Achromatopsia (no color)#8C8C8C0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A8D40

    #9A8D40

    oklch(63.9% 0.099 99.8)

  • #8085C7

    #8085C7

    oklch(63.9% 0.099 279.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A8D40

    #9A8D40

    oklch(63.9% 0.099 99.8)

  • #B28144

    #B28144

    oklch(63.9% 0.099 70.4)

  • #789856

    #789856

    oklch(63.9% 0.099 129.9)

Open the analogous palette in the generator

Split complementary

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

  • #9A8D40

    #9A8D40

    oklch(63.9% 0.099 99.8)

  • #5B90C6

    #5B90C6

    oklch(63.9% 0.099 250.1)

  • #9E7BB9

    #9E7BB9

    oklch(64% 0.098 309.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A8D40

    #9A8D40

    oklch(63.9% 0.099 99.8)

  • #359AB5

    #359AB5

    oklch(64% 0.099 219.3)

  • #B4739F

    #B4739F

    oklch(63.8% 0.1 339.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A8D40

    #9A8D40

    oklch(63.9% 0.099 99.8)

  • #2C9F99

    #2C9F99

    oklch(63.9% 0.099 189.8)

  • #8085C7

    #8085C7

    oklch(63.9% 0.099 279.9)

  • #BF727E

    #BF727E

    oklch(63.9% 0.098 10.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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