#9D842C

Closest named color: Mustard Brown (#AC7E04). oklch(62% 0.109 92.8), rgb(157, 132, 44).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameMustard Brown (#AC7E04)
Black text5.77:1
White text3.63:1

Values

HEX#9D842C
RGBrgb(157, 132, 44)
HSLhsl(47, 56%, 39%)
OKLCHoklch(62% 0.109 92.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 #9D842C 3.63:1 AA large text Lc -69.4 Content text, not long reading
Black text on #9D842C 5.77:1 AA Lc 40.2 Non-text elements, placeholder text
#9D842C text on white 3.63:1 AA large text Lc 63.9 Content text, not long reading
#9D842C text on black 5.77:1 AA Lc -37.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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #E0D9C4

    oklch(88.5% 0.029 91.7)

  4. Step 300

    300

    #CCC09A

    oklch(80.8% 0.053 92.6)

  5. Step 400

    400

    #B3A061

    oklch(70.8% 0.085 93.2)

  6. Step 500

    500 (this color)

    #9D842C

    oklch(62% 0.109 92.8)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #4F400A

    oklch(37.7% 0.071 92.2)

  11. Step 950

    950

    #2E2609

    oklch(27.1% 0.045 93.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D842C 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)#9282200.022
Deuteranopia (no green cones)#9989310.014
Tritanopia (no blue cones)#AA79720.100
Achromatopsia (no color)#8686860.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D842C

    #9D842C

    oklch(62% 0.109 92.8)

  • #7081C8

    #7081C8

    oklch(62% 0.109 272.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D842C

    #9D842C

    oklch(62% 0.109 92.8)

  • #B4763A

    #B4763A

    oklch(61.9% 0.109 62.4)

  • #7A9142

    #7A9142

    oklch(62.1% 0.109 123.1)

Open the analogous palette in the generator

Split complementary

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

  • #9D842C

    #9D842C

    oklch(62% 0.109 92.8)

  • #448DC2

    #448DC2

    oklch(62% 0.109 242.8)

  • #9375BC

    #9375BC

    oklch(61.9% 0.109 302.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D842C

    #9D842C

    oklch(62% 0.109 92.8)

  • #0097AD

    #0097AD

    oklch(62.1% 0.109 212.7)

  • #AD6CA3

    #AD6CA3

    oklch(62% 0.11 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D842C

    #9D842C

    oklch(62% 0.109 92.8)

  • #0B9B8C

    #0B9B8C

    oklch(62% 0.109 182.8)

  • #7081C8

    #7081C8

    oklch(62% 0.109 272.6)

  • #BC6980

    #BC6980

    oklch(62.1% 0.109 3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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