#9E8304

Closest named color: Dark Mustard (#A88905). oklch(61.7% 0.126 94.2), rgb(158, 131, 4).

Aa

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

About this color

#9E8304 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.126 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.024 away. Black text reads best on it, at 5.70:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.70:1
White text3.68:1

Values

HEX#9E8304
RGBrgb(158, 131, 4)
HSLhsl(49, 95%, 32%)
OKLCHoklch(61.7% 0.126 94.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 #9E8304 3.68:1 AA large text Lc -69.7 Content text, not long reading
Black text on #9E8304 5.70:1 AA Lc 39.9 Non-text elements, placeholder text
#9E8304 text on white 3.68:1 AA large text Lc 64.2 Content text, not long reading
#9E8304 text on black 5.70:1 AA Lc -37.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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #E0D9C0

    oklch(88.4% 0.034 94.1)

  4. Step 300

    300

    #CDC194

    oklch(81% 0.061 94.9)

  5. Step 400

    400

    #B4A055

    oklch(70.7% 0.098 94.8)

  6. Step 500

    500 (this color)

    #9E8304

    oklch(61.7% 0.126 94.2)

  7. Step 600

    600

    #897100

    oklch(55.5% 0.114 94.1)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2603

    oklch(27.1% 0.052 94.3)

Export this scale for Tailwind in the Tailwind colors tool

#9E8304 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)#9381000.020
Deuteranopia (no green cones)#9989140.016
Tritanopia (no blue cones)#AC776F0.116
Achromatopsia (no color)#8585850.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E8304

    #9E8304

    oklch(61.7% 0.126 94.2)

  • #6F7ED0

    #6F7ED0

    oklch(61.7% 0.125 274.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E8304

    #9E8304

    oklch(61.7% 0.126 94.2)

  • #B97323

    #B97323

    oklch(61.8% 0.126 64.2)

  • #759233

    #759233

    oklch(61.8% 0.126 124.5)

Open the analogous palette in the generator

Split complementary

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

  • #9E8304

    #9E8304

    oklch(61.7% 0.126 94.2)

  • #368CCB

    #368CCB

    oklch(61.7% 0.125 244.3)

  • #9670C2

    #9670C2

    oklch(61.6% 0.126 304.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E8304

    #9E8304

    oklch(61.7% 0.126 94.2)

  • #0095AD

    #0095AD

    oklch(61.6% 0.109 214.4)

  • #B266A4

    #B266A4

    oklch(61.6% 0.126 334.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E8304

    #9E8304

    oklch(61.7% 0.126 94.2)

  • #009A8D

    #009A8D

    oklch(61.7% 0.109 184.4)

  • #6F7ED0

    #6F7ED0

    oklch(61.7% 0.125 274.3)

  • #C2627C

    #C2627C

    oklch(61.7% 0.125 4.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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