#9C8A3F

Closest named color: Dark Mustard (#A88905). oklch(63.4% 0.098 96), rgb(156, 138, 63).

Aa

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

About this color

#9C8A3F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.098 and its hue 96°. 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.12:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text6.12:1
White text3.43:1

Values

HEX#9C8A3F
RGBrgb(156, 138, 63)
HSLhsl(48, 42%, 43%)
OKLCHoklch(63.4% 0.098 96)

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 #9C8A3F 3.43:1 AA large text Lc -67.2 Content text, not long reading
Black text on #9C8A3F 6.12:1 AA Lc 42.3 Non-text elements, placeholder text
#9C8A3F text on white 3.43:1 AA large text Lc 61.8 Content text, not long reading
#9C8A3F text on black 6.12:1 AA Lc -39.9 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DED9C6

    oklch(88.4% 0.026 94.8)

  4. Step 300

    300

    #C9C19E

    oklch(80.8% 0.048 96.6)

  5. Step 400

    400

    #AFA169

    oklch(70.8% 0.076 95.8)

  6. Step 500

    500 (this color)

    #9C8A3F

    oklch(63.4% 0.098 96)

  7. Step 600

    600

    #867218

    oklch(55.5% 0.106 95.6)

  8. Step 700

    700

    #726006

    oklch(49.2% 0.099 95.9)

  9. Step 800

    800

    #5C4E0D

    oklch(42.6% 0.081 96)

  10. Step 900

    900

    #4C4114

    oklch(37.7% 0.064 95.3)

  11. Step 950

    950

    #2C260E

    oklch(26.9% 0.039 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#9C8A3F 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)#9787370.014
Deuteranopia (no green cones)#9B8D420.008
Tritanopia (no blue cones)#A881790.088
Achromatopsia (no color)#8A8A8A0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C8A3F

    #9C8A3F

    oklch(63.4% 0.098 96)

  • #7A85C5

    #7A85C5

    oklch(63.4% 0.097 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C8A3F

    #9C8A3F

    oklch(63.4% 0.098 96)

  • #B37E46

    #B37E46

    oklch(63.5% 0.098 65.9)

  • #7C9552

    #7C9552

    oklch(63.4% 0.097 125.8)

Open the analogous palette in the generator

Split complementary

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

  • #9C8A3F

    #9C8A3F

    oklch(63.4% 0.098 96)

  • #5590C2

    #5590C2

    oklch(63.4% 0.098 245.7)

  • #997BB9

    #997BB9

    oklch(63.5% 0.096 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C8A3F

    #9C8A3F

    oklch(63.4% 0.098 96)

  • #3199B0

    #3199B0

    oklch(63.4% 0.098 215.8)

  • #B073A1

    #B073A1

    oklch(63.4% 0.098 336.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C8A3F

    #9C8A3F

    oklch(63.4% 0.098 96)

  • #309D93

    #309D93

    oklch(63.3% 0.097 186.2)

  • #7A85C5

    #7A85C5

    oklch(63.4% 0.097 275.8)

  • #BC7081

    #BC7081

    oklch(63.3% 0.098 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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