#9C842E

Closest named color: Mustard Brown (#AC7E04). oklch(61.9% 0.107 93.2), rgb(156, 132, 46).

Aa

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

About this color

#9C842E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.107 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Brown (#AC7E04), ΔE 0.029 away. Black text reads best on it, at 5.75:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameMustard Brown (#AC7E04)
Black text5.75:1
White text3.64:1

Values

HEX#9C842E
RGBrgb(156, 132, 46)
HSLhsl(47, 54%, 40%)
OKLCHoklch(61.9% 0.107 93.2)

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 #9C842E 3.64:1 AA large text Lc -69.5 Content text, not long reading
Black text on #9C842E 5.75:1 AA Lc 40.1 Non-text elements, placeholder text
#9C842E text on white 3.64:1 AA large text Lc 64.0 Content text, not long reading
#9C842E text on black 5.75:1 AA Lc -37.7 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DFD9C4

    oklch(88.4% 0.029 93.8)

  4. Step 300

    300

    #CCC09B

    oklch(80.8% 0.052 92.2)

  5. Step 400

    400

    #B2A062

    oklch(70.7% 0.084 93.8)

  6. Step 500

    500 (this color)

    #9C842E

    oklch(61.9% 0.107 93.2)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4E400C

    oklch(37.6% 0.07 93.1)

  11. Step 950

    950

    #2E260A

    oklch(27.1% 0.044 93.2)

Export this scale for Tailwind in the Tailwind colors tool

#9C842E 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)#9282220.020
Deuteranopia (no green cones)#9889320.014
Tritanopia (no blue cones)#A979720.099
Achromatopsia (no color)#8686860.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C842E

    #9C842E

    oklch(61.9% 0.107 93.2)

  • #7181C7

    #7181C7

    oklch(62% 0.108 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C842E

    #9C842E

    oklch(61.9% 0.107 93.2)

  • #B3773B

    #B3773B

    oklch(62% 0.107 63.5)

  • #7A9043

    #7A9043

    oklch(61.9% 0.107 122.8)

Open the analogous palette in the generator

Split complementary

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

  • #9C842E

    #9C842E

    oklch(61.9% 0.107 93.2)

  • #468DC1

    #468DC1

    oklch(62% 0.106 242.9)

  • #9375BB

    #9375BB

    oklch(61.9% 0.108 303.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C842E

    #9C842E

    oklch(61.9% 0.107 93.2)

  • #0796AC

    #0796AC

    oklch(61.9% 0.107 212.9)

  • #AC6DA1

    #AC6DA1

    oklch(61.9% 0.106 333.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C842E

    #9C842E

    oklch(61.9% 0.107 93.2)

  • #119B8C

    #119B8C

    oklch(62% 0.108 182.7)

  • #7181C7

    #7181C7

    oklch(62% 0.108 273.1)

  • #BB697F

    #BB697F

    oklch(61.9% 0.107 3.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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